(svn r17405) -Fix (r100): aircraft shouldn't be allowed to make turns bigger then 45 degrees while in flight

This commit is contained in:
yexo
2009-09-03 12:11:31 +00:00
parent dcf3719ca1
commit 16e3083ff7
3 changed files with 14 additions and 4 deletions

View File

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