forked from mirror/OpenTTD
(svn r8828) -Fix
-Regression (r7585): On load calculate the station rectangle for all savegames, not just savegames with at least version 27
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user