diff options
author | tron <tron@openttd.org> | 2006-10-28 10:55:59 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2006-10-28 10:55:59 +0000 |
commit | fd9e71999b6ac9e55b2a88f3221ab0e660934953 (patch) | |
tree | 8b0e233f3a0470fc60d6453aee27da317a3f2692 /date.c | |
parent | bb6818aa5c39f373395dc32bd37ce3e4d914e516 (diff) | |
download | openttd-fd9e71999b6ac9e55b2a88f3221ab0e660934953.tar.xz |
(svn r6975) Use the pool macros for the Vehicle pool
Diffstat (limited to 'date.c')
-rw-r--r-- | date.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -196,7 +196,7 @@ static const Month _autosave_months[] = { */ static void RunVehicleDayProc(uint daytick) { - uint total = _vehicle_pool.total_items; + uint total = GetVehiclePoolSize(); uint i; for (i = daytick; i < total; i += DAY_TICKS) { |