summaryrefslogtreecommitdiff
path: root/saveload.c
diff options
context:
space:
mode:
Diffstat (limited to 'saveload.c')
-rw-r--r--saveload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/saveload.c b/saveload.c
index a1bea9dd4..f728f6024 100644
--- a/saveload.c
+++ b/saveload.c
@@ -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);
}