summaryrefslogtreecommitdiff
path: root/train_cmd.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-11-13 21:16:34 +0000
committertron <tron@openttd.org>2005-11-13 21:16:34 +0000
commitb34de09e627fc5f8d7579c96c8b4290593c1dd32 (patch)
treed66fcca83a94bececa75c9b65acbde8161e9e4be /train_cmd.c
parent39ba8235b2febd36fc88929256b1bd18d482809e (diff)
downloadopenttd-b34de09e627fc5f8d7579c96c8b4290593c1dd32.tar.xz
(svn r3176) Use proper types, not some variants of int
Diffstat (limited to 'train_cmd.c')
-rw-r--r--train_cmd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/train_cmd.c b/train_cmd.c
index 24c696f0c..aed2c8ea8 100644
--- a/train_cmd.c
+++ b/train_cmd.c
@@ -1958,7 +1958,8 @@ static bool CheckTrainStayInDepot(Vehicle *v)
return false;
if (v->u.rail.force_proceed == 0) {
- byte trackdir = GetVehicleTrackdir(v);
+ Trackdir trackdir = GetVehicleTrackdir(v);
+
if (++v->load_unload_time_rem < 37) {
InvalidateWindowClasses(WC_TRAINS_LIST);
return true;