summaryrefslogtreecommitdiff
path: root/src/pbs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pbs.cpp')
-rw-r--r--src/pbs.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/pbs.cpp b/src/pbs.cpp
index bf3913bc4..d321f30c7 100644
--- a/src/pbs.cpp
+++ b/src/pbs.cpp
@@ -92,7 +92,6 @@ bool TryReserveRailTrack(TileIndex tile, Track t)
if (IsRailWaypoint(tile) || IsRailDepot(tile)) {
if (!GetDepotWaypointReservation(tile)) {
SetDepotWaypointReservation(tile, true);
- MarkTileDirtyByTile(tile);
return true;
}
}
@@ -110,7 +109,6 @@ bool TryReserveRailTrack(TileIndex tile, Track t)
case MP_STATION:
if (IsRailwayStation(tile) && !GetRailwayStationReservation(tile)) {
SetRailwayStationReservation(tile, true);
- MarkTileDirtyByTile(tile);
return true;
}
break;