Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Sep 97 22:27 MET DST
From:      Yanestra@t-online.de (Klaus-J. Wolf)
To:        hackers@freebsd.org
Subject:   Bugfix games/atc
Message-ID:  <m0xDy1b-0003NzC@fwd04.btx.dtag.de>

next in thread | raw e-mail | index | archive | help
Dear people,

a small bugfix for games/atc.

BUG DESCRIPTION:

When a plane is heading to 315 degrees and you turn 'r' right, it will start 
to circle.  When a plane is heading to 270 degrees and you turn 'R' right, it 
will start to circle.

BUGFIX:

File: /usr/src/games/atc/input.c

--cut-here--
413c413
< 	if (p.new_dir > MAXDIR)
---
> 	if (p.new_dir >= MAXDIR)
431c431
< 	if (p.new_dir > MAXDIR)
---
> 	if (p.new_dir >= MAXDIR)
--cut-here--

Thanx a lot.

Ciao
  jay






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m0xDy1b-0003NzC>