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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user