1
0
Fork 0

(svn r10748) -Codechange: call the pool cleanup functions for stations directly instead of using the wrapper functions.

release/0.6
rubidium 2007-08-02 10:47:43 +00:00
parent 9009f0aa20
commit fc12fc0140
1 changed files with 4 additions and 4 deletions

View File

@ -2849,12 +2849,12 @@ static CommandCost ClearTile_Station(TileIndex tile, byte flags)
void InitializeStations() void InitializeStations()
{ {
/* Clean the station pool and create 1 block in it */ /* Clean the station pool and create 1 block in it */
CleanPool(&_Station_pool); _Station_pool.CleanPool();
AddBlockToPool(&_Station_pool); _Station_pool.AddBlockToPool();
/* Clean the roadstop pool and create 1 block in it */ /* Clean the roadstop pool and create 1 block in it */
CleanPool(&_RoadStop_pool); _RoadStop_pool.CleanPool();
AddBlockToPool(&_RoadStop_pool); _RoadStop_pool.AddBlockToPool();
_station_tick_ctr = 0; _station_tick_ctr = 0;