summaryrefslogtreecommitdiff
path: root/oldloader.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-10-28 11:55:29 +0000
committertron <tron@openttd.org>2006-10-28 11:55:29 +0000
commite397b721cda24507068a2028db58f28d7198fce9 (patch)
tree0353b720b14d64966c30ec3e7f905a9eecfa4aca /oldloader.c
parent02ae75b380ee26b7c12837b28f753894522fb0a6 (diff)
downloadopenttd-e397b721cda24507068a2028db58f28d7198fce9.tar.xz
(svn r6986) Use the pool macros for the Town 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 4bc40c2f0..ea447290d 100644
--- a/oldloader.c
+++ b/oldloader.c
@@ -483,7 +483,7 @@ static const OldChunks town_chunk[] = {
};
static bool LoadOldTown(LoadgameState *ls, int num)
{
- if (!AddBlockIfNeeded(&_town_pool, num))
+ if (!AddBlockIfNeeded(&_Town_pool, num))
error("Towns: failed loading savegame: too many towns");
return LoadChunk(ls, GetTown(num), town_chunk);