(svn r6975) Use the pool macros for the Vehicle pool

This commit is contained in:
tron
2006-10-28 10:55:59 +00:00
parent bb6818aa5c
commit fd9e71999b
6 changed files with 20 additions and 40 deletions

View File

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