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
commit357aba747578ecd3b8cc1a29bc740634211ada37 (patch)
treed66fcca83a94bececa75c9b65acbde8161e9e4be /train_cmd.c
parenteeade6978653e60e587f132f44b8d370244cc7bd (diff)
downloadopenttd-357aba747578ecd3b8cc1a29bc740634211ada37.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;