diff options
author | matthijs <matthijs@openttd.org> | 2006-12-03 17:27:43 +0000 |
---|---|---|
committer | matthijs <matthijs@openttd.org> | 2006-12-03 17:27:43 +0000 |
commit | f3358b9813bbc0d630dc05e3ab24a757f367d954 (patch) | |
tree | 8071fe32ed8927c4e25ff2e453aa8297bc8dfe37 /waypoint.c | |
parent | 00e9e3e9e6fa790ad8fe1c915f12d47e803ab89e (diff) | |
download | openttd-f3358b9813bbc0d630dc05e3ab24a757f367d954.tar.xz |
(svn r7331) - Codechange: Rename all memory pool macro's and types to "old pool", so the new pool implementation can be committed alongside it.
- Codechange: Rename pool.[ch] to oldpool.[ch].
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) |