summaryrefslogtreecommitdiff
path: root/oldloader.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-10-28 10:55:59 +0000
committertron <tron@openttd.org>2006-10-28 10:55:59 +0000
commit953344fdccabf547946eede684e588226f2c080e (patch)
tree8b0e233f3a0470fc60d6453aee27da317a3f2692 /oldloader.c
parentef862a2973c0aa13932edc5d446ed04f7ad110c9 (diff)
downloadopenttd-953344fdccabf547946eede684e588226f2c080e.tar.xz
(svn r6975) Use the pool macros for the Vehicle pool
Diffstat (limited to 'oldloader.c')
-rw-r--r--oldloader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/oldloader.c b/oldloader.c
index 52d2d1258..8675b9b9d 100644
--- a/oldloader.c
+++ b/oldloader.c
@@ -1196,7 +1196,7 @@ static bool LoadOldVehicle(LoadgameState *ls, int num)
_current_vehicle_id = num * _old_vehicle_multiplier + i;
- if (!AddBlockIfNeeded(&_vehicle_pool, _current_vehicle_id))
+ if (!AddBlockIfNeeded(&_Vehicle_pool, _current_vehicle_id))
error("Vehicles: failed loading savegame: too many vehicles");
v = GetVehicle(_current_vehicle_id);