summaryrefslogtreecommitdiff
path: root/waypoint.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
commitae7ec5cd0d9eb0a137c8a3cf9e7ca99679768a87 (patch)
tree07455a17b9de0227444751069ab0ca9276a82252 /waypoint.c
parent24ef4ce560cc3e0b4e45fe15fae839ce8071bec9 (diff)
downloadopenttd-ae7ec5cd0d9eb0a137c8a3cf9e7ca99679768a87.tar.xz
(svn r4471) - Pools: Add a facility for calling a custom function during pool block clean up.
Diffstat (limited to 'waypoint.c')
-rw-r--r--waypoint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/waypoint.c b/waypoint.c
index 0239513cc..957076811 100644
--- a/waypoint.c
+++ b/waypoint.c
@@ -39,7 +39,7 @@ static void WaypointPoolNewBlock(uint start_item)
}
/* Initialize the town-pool */
-MemoryPool _waypoint_pool = { "Waypoints", WAYPOINT_POOL_MAX_BLOCKS, WAYPOINT_POOL_BLOCK_SIZE_BITS, sizeof(Waypoint), &WaypointPoolNewBlock, 0, 0, NULL };
+MemoryPool _waypoint_pool = { "Waypoints", WAYPOINT_POOL_MAX_BLOCKS, WAYPOINT_POOL_BLOCK_SIZE_BITS, sizeof(Waypoint), &WaypointPoolNewBlock, NULL, 0, 0, NULL };
/* Create a new waypoint */
static Waypoint* AllocateWaypoint(void)