(svn r3176) Use proper types, not some variants of int

This commit is contained in:
tron
2005-11-13 21:16:34 +00:00
parent 39ba8235b2
commit b34de09e62
7 changed files with 13 additions and 11 deletions

View File

@@ -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;