forked from mirror/OpenTTD
(svn r4471) - Pools: Add a facility for calling a custom function during pool block clean up.
This commit is contained in:
@@ -45,7 +45,7 @@ static void TownPoolNewBlock(uint start_item)
|
||||
}
|
||||
|
||||
/* Initialize the town-pool */
|
||||
MemoryPool _town_pool = { "Towns", TOWN_POOL_MAX_BLOCKS, TOWN_POOL_BLOCK_SIZE_BITS, sizeof(Town), &TownPoolNewBlock, 0, 0, NULL };
|
||||
MemoryPool _town_pool = { "Towns", TOWN_POOL_MAX_BLOCKS, TOWN_POOL_BLOCK_SIZE_BITS, sizeof(Town), &TownPoolNewBlock, NULL, 0, 0, NULL };
|
||||
|
||||
// Local
|
||||
static int _grow_town_result;
|
||||
|
Reference in New Issue
Block a user