diff options
author | rubidium <rubidium@openttd.org> | 2010-01-09 14:43:08 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-01-09 14:43:08 +0000 |
commit | e4af35d316158767ddd19d87ac1c92086be7a71c (patch) | |
tree | 209595e66247eac0defe0806ff0f08706fc7adee /src/vehicle_base.h | |
parent | f65f276d10e528ffe2581656cfa8066a20002995 (diff) | |
download | openttd-e4af35d316158767ddd19d87ac1c92086be7a71c.tar.xz |
(svn r18764) -Fix [FS#3422]: split the (un)load ticks counter and signal wait counter; sometimes they might get into eachother's way
Diffstat (limited to 'src/vehicle_base.h')
-rw-r--r-- | src/vehicle_base.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/vehicle_base.h b/src/vehicle_base.h index f01a6e935..b032b44e4 100644 --- a/src/vehicle_base.h +++ b/src/vehicle_base.h @@ -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 |