git: atc - Fix bug related to delayed command and altitude change

Matthias Schmidt matthias at crater.dragonflybsd.org
Tue Dec 29 10:16:06 PST 2009


commit 6a10a276cd1ad45b92f588da6ecc24f4a38bb99a
Author: Matthias Schmidt <matthias at dragonflybsd.org>
Date:   Sun Dec 20 10:05:20 2009 +0100

    atc - Fix bug related to delayed command and altitude change
    
    When playing atc, if a plane has a delayed turn command, and you issue
    an altitude command that would send the plane to the same altitude to
    which it is already going, the delay is disabled and the plane turns
    immediately.
    
    Fix is from OpenBSD (PR 3448).
    
    Discussed-with: swildner@
    Provided-by: 26c3

Summary of changes:
 games/atc/input.c |   16 ++++++++++++----
 1 files changed, 12 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6a10a276cd1ad45b92f588da6ecc24f4a38bb99a


-- 
DragonFly BSD source repository





More information about the Commits mailing list