Fix CmdBuildRoadStop updating station acceptance in estimate mode
This commit is contained in:
@@ -2159,11 +2159,11 @@ CommandCost CmdBuildRoadStop(TileIndex tile, DoCommandFlag flags, uint32 p1, uin
|
|||||||
ZoningMarkDirtyStationCoverageArea(st);
|
ZoningMarkDirtyStationCoverageArea(st);
|
||||||
NotifyRoadLayoutChanged(true);
|
NotifyRoadLayoutChanged(true);
|
||||||
UpdateRoadCachedOneWayStatesAroundTile(tile);
|
UpdateRoadCachedOneWayStatesAroundTile(tile);
|
||||||
}
|
|
||||||
|
|
||||||
if (st != nullptr) {
|
if (st != nullptr) {
|
||||||
st->AfterStationTileSetChange(true, type ? STATION_TRUCK: STATION_BUS);
|
st->AfterStationTileSetChange(true, type ? STATION_TRUCK: STATION_BUS);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return cost;
|
return cost;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user