summaryrefslogtreecommitdiff
path: root/src/station_cmd.cpp
diff options
context:
space:
mode:
authortron <tron@openttd.org>2007-02-21 07:37:31 +0000
committertron <tron@openttd.org>2007-02-21 07:37:31 +0000
commit565da62355f8f525f8d2cd1247e0094586d831e6 (patch)
treeddbaba035eff5c7aac47ae3f4cdcf397b9936775 /src/station_cmd.cpp
parent771932d8891e9f1e52b957958c97511317c36055 (diff)
downloadopenttd-565da62355f8f525f8d2cd1247e0094586d831e6.tar.xz
(svn r8828) -Fix
-Regression (r7585): On load calculate the station rectangle for all savegames, not just savegames with at least version 27
Diffstat (limited to 'src/station_cmd.cpp')
-rw-r--r--src/station_cmd.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp
index cd674d2d5..eb11ed5cb 100644
--- a/src/station_cmd.cpp
+++ b/src/station_cmd.cpp
@@ -2647,11 +2647,6 @@ void AfterLoadStations(void)
st->speclist[i].spec = GetCustomStationSpecByGrf(st->speclist[i].grfid, st->speclist[i].localidx);
}
}
-
- for (TileIndex tile = 0; tile < MapSize(); tile++) {
- if (GetTileType(tile) != MP_STATION) continue;
- GetStationByTile(tile)->rect.BeforeAddTile(tile, StationRect::ADD_FORCE);
- }
}