(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:
tron
2007-02-21 07:37:31 +00:00
parent 771932d889
commit 565da62355
2 changed files with 9 additions and 10 deletions

View File

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