(svn r17483) -Fix (r17405): when an aircraft starts flying in circles make it turn in the correct direction first before continuing

This commit is contained in:
yexo
2009-09-09 00:03:35 +00:00
parent 4924e4ffba
commit e2122dc7f0
3 changed files with 12 additions and 4 deletions

View File

@@ -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>() {}