mirror of https://github.com/OpenTTD/OpenTTD.git
Fix #9774: CmdBuildRoadStop updated station acceptance in estimate mode
This commit is contained in:
parent
21f85cac87
commit
4844268d1c
|
@ -1918,10 +1918,10 @@ CommandCost CmdBuildRoadStop(DoCommandFlag flags, TileIndex tile, uint8 width, u
|
|||
|
||||
MarkTileDirtyByTile(cur_tile);
|
||||
}
|
||||
}
|
||||
|
||||
if (st != nullptr) {
|
||||
st->AfterStationTileSetChange(true, is_truck_stop ? STATION_TRUCK: STATION_BUS);
|
||||
if (st != nullptr) {
|
||||
st->AfterStationTileSetChange(true, is_truck_stop ? STATION_TRUCK: STATION_BUS);
|
||||
}
|
||||
}
|
||||
return cost;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue