summaryrefslogtreecommitdiff
path: root/depot.c
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-04-18 18:48:50 +0000
committerpeter1138 <peter1138@openttd.org>2006-04-18 18:48:50 +0000
commit100cc6fea7515f6c6706960678c7de6cdb438056 (patch)
tree07455a17b9de0227444751069ab0ca9276a82252 /depot.c
parent52b6524e05214d42b4da1562d353056907d3c1b0 (diff)
downloadopenttd-100cc6fea7515f6c6706960678c7de6cdb438056.tar.xz
(svn r4471) - Pools: Add a facility for calling a custom function during pool block clean up.
Diffstat (limited to 'depot.c')
-rw-r--r--depot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/depot.c b/depot.c
index 2809d5d9f..8faf3b8bb 100644
--- a/depot.c
+++ b/depot.c
@@ -28,7 +28,7 @@ static void DepotPoolNewBlock(uint start_item)
}
/* Initialize the town-pool */
-MemoryPool _depot_pool = { "Depots", DEPOT_POOL_MAX_BLOCKS, DEPOT_POOL_BLOCK_SIZE_BITS, sizeof(Depot), &DepotPoolNewBlock, 0, 0, NULL };
+MemoryPool _depot_pool = { "Depots", DEPOT_POOL_MAX_BLOCKS, DEPOT_POOL_BLOCK_SIZE_BITS, sizeof(Depot), &DepotPoolNewBlock, NULL, 0, 0, NULL };
/**