summaryrefslogtreecommitdiff
path: root/oldloader.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-10-28 11:02:37 +0000
committertron <tron@openttd.org>2006-10-28 11:02:37 +0000
commitda500bc3e6daf7f25852a64e04aaa96f65cb0b9a (patch)
tree867284b1ee6e2729c4398a93eb06ddd01ac6004c /oldloader.c
parent953344fdccabf547946eede684e588226f2c080e (diff)
downloadopenttd-da500bc3e6daf7f25852a64e04aaa96f65cb0b9a.tar.xz
(svn r6976) Use the pool macros for the Depot pool
Diffstat (limited to 'oldloader.c')
-rw-r--r--oldloader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/oldloader.c b/oldloader.c
index 8675b9b9d..ba9395f50 100644
--- a/oldloader.c
+++ b/oldloader.c
@@ -521,7 +521,7 @@ static const OldChunks depot_chunk[] = {
static bool LoadOldDepot(LoadgameState *ls, int num)
{
- if (!AddBlockIfNeeded(&_depot_pool, num))
+ if (!AddBlockIfNeeded(&_Depot_pool, num))
error("Depots: failed loading savegame: too many depots");
if (!LoadChunk(ls, GetDepot(num), depot_chunk)) return false;