summaryrefslogtreecommitdiff
path: root/oldloader.c
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2005-03-24 13:59:44 +0000
committertruelight <truelight@openttd.org>2005-03-24 13:59:44 +0000
commit49d69f6fa3882d4af9384bda65eb8c5f11ce28dd (patch)
tree0b128e45836acd883ea7d555799b51783e559d1c /oldloader.c
parent0a95a224ff00d57a22a6e284a32650cb772d298e (diff)
downloadopenttd-49d69f6fa3882d4af9384bda65eb8c5f11ce28dd.tar.xz
(svn r2041) -Fix: not all vehicles did get a day_proc call (because of rounding errors)
Diffstat (limited to 'oldloader.c')
-rw-r--r--oldloader.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/oldloader.c b/oldloader.c
index c3b5f01b8..89a8da27c 100644
--- a/oldloader.c
+++ b/oldloader.c
@@ -423,8 +423,7 @@ static void FixOldVehicles(void)
}
}
- if (_vehicle_id_ctr_day > GetVehiclePoolSize())
- _vehicle_id_ctr_day = 0;
+ _vehicle_id_ctr_day = 0;
}
/*