summaryrefslogtreecommitdiff
path: root/saveload.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-10-28 11:51:38 +0000
committertron <tron@openttd.org>2006-10-28 11:51:38 +0000
commitf0836260e83433d244e6aeb108b15c21444a0871 (patch)
tree77948ee44c883c50b221db42899cab3cb1ace910 /saveload.c
parentf51d2a3311b56f9390c792324430305585644f0d (diff)
downloadopenttd-f0836260e83433d244e6aeb108b15c21444a0871.tar.xz
(svn r6984) Use the pool macros for the RoadStop pool
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 de693d41d..aeb8c5256 100644
--- a/saveload.c
+++ b/saveload.c
@@ -1263,7 +1263,7 @@ static void *IntToReference(uint index, SLRefType rt)
return GetTown(index);
}
case REF_ROADSTOPS: {
- if (!AddBlockIfNeeded(&_roadstop_pool, index))
+ if (!AddBlockIfNeeded(&_RoadStop_pool, index))
error("RoadStops: failed loading savegame: too many RoadStops");
return GetRoadStop(index);
}