# HG changeset patch # User frosch # Date 2008-10-19 17:30:41 # Node ID afb30c59e62b0b010dbe0742ef74d4d49a102132 # Parent 8cd93ccf90f13176529d6400fe81ad8480da8be3 (svn r14493) -Fix[FS#planetmaker]: Do not assign a station spread to buoys on loading games. diff --git a/src/openttd.cpp b/src/openttd.cpp --- a/src/openttd.cpp +++ b/src/openttd.cpp @@ -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: