(svn r14107) -Codechange: marking reserved tile dirty twice (and even when patch option is off) is not needed

This commit is contained in:
smatz 2008-08-20 15:21:03 +00:00
parent 578833ef01
commit 999994bcf3
1 changed files with 0 additions and 2 deletions

View File

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