summaryrefslogtreecommitdiff
path: root/saveload.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-10-28 11:48:21 +0000
committertron <tron@openttd.org>2006-10-28 11:48:21 +0000
commitf51d2a3311b56f9390c792324430305585644f0d (patch)
tree3ffe678fb18ee1f4bec34159eb8c4eec6d427815 /saveload.c
parent470a054c061bbe8d3ec9160a52f79f6314bfa86a (diff)
downloadopenttd-f51d2a3311b56f9390c792324430305585644f0d.tar.xz
(svn r6983) Use the pool macros for the Station 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 0818ebaca..de693d41d 100644
--- a/saveload.c
+++ b/saveload.c
@@ -1253,7 +1253,7 @@ static void *IntToReference(uint index, SLRefType rt)
return GetVehicle(index);
}
case REF_STATION: {
- if (!AddBlockIfNeeded(&_station_pool, index))
+ if (!AddBlockIfNeeded(&_Station_pool, index))
error("Stations: failed loading savegame: too many stations");
return GetStation(index);
}