summaryrefslogtreecommitdiff
path: root/oldloader.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-10-28 11:32:45 +0000
committertron <tron@openttd.org>2006-10-28 11:32:45 +0000
commit4cb479e083d8edd3005b8db00f350b9fdb3bf2a6 (patch)
treeb6044568d43abbfa7a491932085dbece97587c6f /oldloader.c
parenta97f75e43904ad15a3275cc1a480feb3352d6ec6 (diff)
downloadopenttd-4cb479e083d8edd3005b8db00f350b9fdb3bf2a6.tar.xz
(svn r6979) Use the pool macros for the Industry 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 ba9395f50..cec51e74a 100644
--- a/oldloader.c
+++ b/oldloader.c
@@ -709,7 +709,7 @@ static bool LoadOldIndustry(LoadgameState *ls, int num)
{
Industry *i;
- if (!AddBlockIfNeeded(&_industry_pool, num))
+ if (!AddBlockIfNeeded(&_Industry_pool, num))
error("Industries: failed loading savegame: too many industries");
i = GetIndustry(num);