diff options
author | peter1138 <peter1138@openttd.org> | 2006-04-18 18:48:50 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-04-18 18:48:50 +0000 |
commit | ae7ec5cd0d9eb0a137c8a3cf9e7ca99679768a87 (patch) | |
tree | 07455a17b9de0227444751069ab0ca9276a82252 /industry_cmd.c | |
parent | 24ef4ce560cc3e0b4e45fe15fae839ce8071bec9 (diff) | |
download | openttd-ae7ec5cd0d9eb0a137c8a3cf9e7ca99679768a87.tar.xz |
(svn r4471) - Pools: Add a facility for calling a custom function during pool block clean up.
Diffstat (limited to 'industry_cmd.c')
-rw-r--r-- | industry_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/industry_cmd.c b/industry_cmd.c index dd53f5e26..e0cf69ebe 100644 --- a/industry_cmd.c +++ b/industry_cmd.c @@ -38,7 +38,7 @@ static void IndustryPoolNewBlock(uint start_item) } /* Initialize the industry-pool */ -MemoryPool _industry_pool = { "Industry", INDUSTRY_POOL_MAX_BLOCKS, INDUSTRY_POOL_BLOCK_SIZE_BITS, sizeof(Industry), &IndustryPoolNewBlock, 0, 0, NULL }; +MemoryPool _industry_pool = { "Industry", INDUSTRY_POOL_MAX_BLOCKS, INDUSTRY_POOL_BLOCK_SIZE_BITS, sizeof(Industry), &IndustryPoolNewBlock, NULL, 0, 0, NULL }; static byte _industry_sound_ctr; static TileIndex _industry_sound_tile; |