mirror of https://github.com/OpenTTD/OpenTTD
(svn r10748) -Codechange: call the pool cleanup functions for stations directly instead of using the wrapper functions.
parent
9009f0aa20
commit
fc12fc0140
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue