(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 6815cc52fe
commit 4dcf12a3ad
1 changed files with 2 additions and 1 deletions

View File

@ -1507,7 +1507,8 @@ bool AfterLoadGame()
case MP_STATION: {
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)) {
case STATION_TRUCK: