(svn r14493) -Fix[FS#planetmaker]: Do not assign a station spread to buoys on loading games.

This commit is contained in:
frosch
2008-10-19 17:30:41 +00:00
parent 4424c2e6fb
commit 56e5972790

View File

@@ -1507,7 +1507,8 @@ bool AfterLoadGame()
case MP_STATION: { case MP_STATION: {
Station *st = GetStationByTile(t); Station *st = GetStationByTile(t);
st->rect.BeforeAddTile(t, StationRect::ADD_FORCE); /* Set up station spread; buoys do not have one */
if (!IsBuoy(t)) st->rect.BeforeAddTile(t, StationRect::ADD_FORCE);
switch (GetStationType(t)) { switch (GetStationType(t)) {
case STATION_TRUCK: case STATION_TRUCK: