summaryrefslogtreecommitdiff
path: root/src
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
commitfc12fc01401a647ead4d8ac02c98a9a2672c0f51 (patch)
tree671c3538f1d19d98955bfa94774460849022f259 /src
parent9009f0aa2042c1563efc565423962da737f40011 (diff)
downloadopenttd-fc12fc01401a647ead4d8ac02c98a9a2672c0f51.tar.xz
(svn r10748) -Codechange: call the pool cleanup functions for stations directly instead of using the wrapper functions.
Diffstat (limited to 'src')
-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;