diff options
author | yexo <yexo@openttd.org> | 2009-09-03 12:11:31 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2009-09-03 12:11:31 +0000 |
commit | 16e3083ff724c93012b821319fc80d311eeacc55 (patch) | |
tree | 49adfe50132aaf481bf631fbbfdb51aaefc5042d /src/aircraft.h | |
parent | dcf3719ca1de0a3645ded7d893396e866ab97cba (diff) | |
download | openttd-16e3083ff724c93012b821319fc80d311eeacc55.tar.xz |
(svn r17405) -Fix (r100): aircraft shouldn't be allowed to make turns bigger then 45 degrees while in flight
Diffstat (limited to 'src/aircraft.h')
-rw-r--r-- | src/aircraft.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/aircraft.h b/src/aircraft.h index fdf72b12f..882272bfc 100644 --- a/src/aircraft.h +++ b/src/aircraft.h @@ -91,6 +91,7 @@ struct Aircraft : public SpecializedVehicle<Aircraft, VEH_AIRCRAFT> { byte previous_pos; StationID targetairport; byte state; + DirectionByte last_direction; /** We don't want GCC to zero our struct! It already is zeroed and has an index! */ Aircraft() : SpecializedVehicle<Aircraft, VEH_AIRCRAFT>() {} |