summaryrefslogtreecommitdiff
path: root/industry_cmd.c
diff options
context:
space:
mode:
authormatthijs <matthijs@openttd.org>2006-12-03 17:27:43 +0000
committermatthijs <matthijs@openttd.org>2006-12-03 17:27:43 +0000
commit231111ce3d3d37c05a71591a4760a6dc95beac69 (patch)
tree8071fe32ed8927c4e25ff2e453aa8297bc8dfe37 /industry_cmd.c
parente205c58ddc66684c24517cca5c94e41b767ae7d6 (diff)
downloadopenttd-231111ce3d3d37c05a71591a4760a6dc95beac69.tar.xz
(svn r7331) - Codechange: Rename all memory pool macro's and types to "old pool", so the new pool implementation can be committed alongside it.
- Codechange: Rename pool.[ch] to oldpool.[ch].
Diffstat (limited to 'industry_cmd.c')
-rw-r--r--industry_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/industry_cmd.c b/industry_cmd.c
index 5d6c78d67..4516de189 100644
--- a/industry_cmd.c
+++ b/industry_cmd.c
@@ -45,7 +45,7 @@ static void IndustryPoolNewBlock(uint start_item)
for (i = GetIndustry(start_item); i != NULL; i = (i->index + 1U < GetIndustryPoolSize()) ? GetIndustry(i->index + 1U) : NULL) i->index = start_item++;
}
-DEFINE_POOL(Industry, Industry, IndustryPoolNewBlock, NULL)
+DEFINE_OLD_POOL(Industry, Industry, IndustryPoolNewBlock, NULL)
/**
* Retrieve the type for this industry. Although it is accessed by a tile,