mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-21 13:39:09 +00:00
(svn r6986) Use the pool macros for the Town pool
This commit is contained in:
@@ -1258,7 +1258,7 @@ static void *IntToReference(uint index, SLRefType rt)
|
||||
return GetStation(index);
|
||||
}
|
||||
case REF_TOWN: {
|
||||
if (!AddBlockIfNeeded(&_town_pool, index))
|
||||
if (!AddBlockIfNeeded(&_Town_pool, index))
|
||||
error("Towns: failed loading savegame: too many towns");
|
||||
return GetTown(index);
|
||||
}
|
||||
|
Reference in New Issue
Block a user