(svn r18764) -Fix [FS#3422]: split the (un)load ticks counter and signal wait counter; sometimes they might get into eachother's way

This commit is contained in:
rubidium
2010-01-09 14:43:08 +00:00
parent f65f276d10
commit e4af35d316
12 changed files with 56 additions and 46 deletions

View File

@@ -184,13 +184,8 @@ public:
byte vehicle_flags; ///< Used for gradual loading and other miscellaneous things (@see VehicleFlags enum)
/**
* Multi purpose variable used as counter for:
* - loading/unloading: ticks to wait before starting next cycle.
* - aircraft: ticks between each turn to prevent > 45 degree turns.
* - trains: ticks waiting in front of a signal, ticks being stuck or a counter for forced proceeding through signals.
*/
uint16 time_counter;
/** Ticks to wait before starting next cycle. */
uint16 load_unload_ticks;
GroupID group_id; ///< Index of group Pool array