1
0
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:
Jonathan G Rennison
2021-12-30 14:06:40 +00:00
committed by Patric Stout
parent b185c80cb8
commit e0ccc58ed1

View File

@@ -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;
}