(svn r6983) Use the pool macros for the Station pool

This commit is contained in:
tron
2006-10-28 11:48:21 +00:00
parent 3592db713f
commit f5b45492d3
5 changed files with 12 additions and 33 deletions

View File

@@ -1253,7 +1253,7 @@ static void *IntToReference(uint index, SLRefType rt)
return GetVehicle(index);
}
case REF_STATION: {
if (!AddBlockIfNeeded(&_station_pool, index))
if (!AddBlockIfNeeded(&_Station_pool, index))
error("Stations: failed loading savegame: too many stations");
return GetStation(index);
}