1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-19 04:29:09 +00:00

(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 470a054c06
commit f51d2a3311
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);
}