diff options
author | smatz <smatz@openttd.org> | 2008-08-20 15:21:03 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-08-20 15:21:03 +0000 |
commit | 999994bcf34375588e51ed49bc5a0757af97818d (patch) | |
tree | c069c17e0bb95567eefed62aacce104b009b336e /src | |
parent | 578833ef01d718c61929c5bf975f719dff062c11 (diff) | |
download | openttd-999994bcf34375588e51ed49bc5a0757af97818d.tar.xz |
(svn r14107) -Codechange: marking reserved tile dirty twice (and even when patch option is off) is not needed
Diffstat (limited to 'src')
-rw-r--r-- | src/pbs.cpp | 2 |
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; |