summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-08-02 10:47:43 +0000
committerrubidium <rubidium@openttd.org>2007-08-02 10:47:43 +0000
commitd28f8139ea9a9ac1ec0037d49d568338f3f09cb6 (patch)
tree671c3538f1d19d98955bfa94774460849022f259
parente44c7600846ae992533f2d594f08a8e9b7ca7df3 (diff)
downloadopenttd-d28f8139ea9a9ac1ec0037d49d568338f3f09cb6.tar.xz
(svn r10748) -Codechange: call the pool cleanup functions for stations directly instead of using the wrapper functions.
-rw-r--r--src/station_cmd.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp
index 045da52a4..d6b1d5e20 100644
--- a/src/station_cmd.cpp
+++ b/src/station_cmd.cpp
@@ -2849,12 +2849,12 @@ static CommandCost ClearTile_Station(TileIndex tile, byte flags)
void InitializeStations()
{
/* Clean the station pool and create 1 block in it */
- CleanPool(&_Station_pool);
- AddBlockToPool(&_Station_pool);
+ _Station_pool.CleanPool();
+ _Station_pool.AddBlockToPool();
/* Clean the roadstop pool and create 1 block in it */
- CleanPool(&_RoadStop_pool);
- AddBlockToPool(&_RoadStop_pool);
+ _RoadStop_pool.CleanPool();
+ _RoadStop_pool.AddBlockToPool();
_station_tick_ctr = 0;