mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-27 08:29:11 +00:00
(svn r6977) Use the pool macros for the EngineRenew pool
This commit is contained in:
@@ -1273,7 +1273,7 @@ static void *IntToReference(uint index, SLRefType rt)
|
||||
return GetRoadStop(index);
|
||||
}
|
||||
case REF_ENGINE_RENEWS: {
|
||||
if (!AddBlockIfNeeded(&_engine_renew_pool, index))
|
||||
if (!AddBlockIfNeeded(&_EngineRenew_pool, index))
|
||||
error("EngineRenews: failed loading savegame: too many EngineRenews");
|
||||
return GetEngineRenew(index);
|
||||
}
|
||||
|
Reference in New Issue
Block a user