summaryrefslogtreecommitdiff
path: root/src/aircraft.h
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2009-09-09 00:03:35 +0000
committeryexo <yexo@openttd.org>2009-09-09 00:03:35 +0000
commite2122dc7f0e02e50ff2e17ae2d3a164671aa0975 (patch)
tree93ad200736bf53ed27b160b07de3798386983448 /src/aircraft.h
parent4924e4ffba7a956641272e2408f27cfb5b023d2a (diff)
downloadopenttd-e2122dc7f0e02e50ff2e17ae2d3a164671aa0975.tar.xz
(svn r17483) -Fix (r17405): when an aircraft starts flying in circles make it turn in the correct direction first before continuing
Diffstat (limited to 'src/aircraft.h')
-rw-r--r--src/aircraft.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/aircraft.h b/src/aircraft.h
index 882272bfc..9d745f52e 100644
--- a/src/aircraft.h
+++ b/src/aircraft.h
@@ -92,6 +92,7 @@ struct Aircraft : public SpecializedVehicle<Aircraft, VEH_AIRCRAFT> {
StationID targetairport;
byte state;
DirectionByte last_direction;
+ byte number_consecutive_turns;
/** We don't want GCC to zero our struct! It already is zeroed and has an index! */
Aircraft() : SpecializedVehicle<Aircraft, VEH_AIRCRAFT>() {}