From fc12fc01401a647ead4d8ac02c98a9a2672c0f51 Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 2 Aug 2007 10:47:43 +0000 Subject: (svn r10748) -Codechange: call the pool cleanup functions for stations directly instead of using the wrapper functions. --- src/station_cmd.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') 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; -- cgit v1.2.3-70-g09d2