diff options
author | tron <tron@openttd.org> | 2006-10-28 11:51:38 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2006-10-28 11:51:38 +0000 |
commit | f0836260e83433d244e6aeb108b15c21444a0871 (patch) | |
tree | 77948ee44c883c50b221db42899cab3cb1ace910 /saveload.c | |
parent | f51d2a3311b56f9390c792324430305585644f0d (diff) | |
download | openttd-f0836260e83433d244e6aeb108b15c21444a0871.tar.xz |
(svn r6984) Use the pool macros for the RoadStop pool
Diffstat (limited to 'saveload.c')
-rw-r--r-- | saveload.c | 2 |
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); } |