mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-28 00:49:11 +00:00
Fix #9774: CmdBuildRoadStop updated station acceptance in estimate mode
This commit is contained in:
committed by
Patric Stout
parent
b185c80cb8
commit
e0ccc58ed1
@@ -1949,10 +1949,10 @@ CommandCost CmdBuildRoadStop(TileIndex tile, DoCommandFlag flags, uint32 p1, uin
|
||||
|
||||
MarkTileDirtyByTile(cur_tile);
|
||||
}
|
||||
}
|
||||
|
||||
if (st != nullptr) {
|
||||
st->AfterStationTileSetChange(true, type ? STATION_TRUCK: STATION_BUS);
|
||||
if (st != nullptr) {
|
||||
st->AfterStationTileSetChange(true, type ? STATION_TRUCK: STATION_BUS);
|
||||
}
|
||||
}
|
||||
return cost;
|
||||
}
|
||||
|
Reference in New Issue
Block a user