diff options
Diffstat (limited to 'waypoint.c')
-rw-r--r-- | waypoint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/waypoint.c b/waypoint.c index cb3195e5f..499faa3a1 100644 --- a/waypoint.c +++ b/waypoint.c @@ -36,7 +36,7 @@ static void WaypointPoolNewBlock(uint start_item) for (wp = GetWaypoint(start_item); wp != NULL; wp = (wp->index + 1U < GetWaypointPoolSize()) ? GetWaypoint(wp->index + 1U) : NULL) wp->index = start_item++; } -DEFINE_POOL(Waypoint, Waypoint, WaypointPoolNewBlock, NULL) +DEFINE_OLD_POOL(Waypoint, Waypoint, WaypointPoolNewBlock, NULL) /* Create a new waypoint */ static Waypoint* AllocateWaypoint(void) |