From ae7ec5cd0d9eb0a137c8a3cf9e7ca99679768a87 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Tue, 18 Apr 2006 18:48:50 +0000 Subject: (svn r4471) - Pools: Add a facility for calling a custom function during pool block clean up. --- town_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'town_cmd.c') diff --git a/town_cmd.c b/town_cmd.c index b78096253..b6afb74a5 100644 --- a/town_cmd.c +++ b/town_cmd.c @@ -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; -- cgit v1.2.3-70-g09d2