| author | frosch |
| Sun, 19 Oct 2008 17:30:41 +0000 | |
| changeset 10262 | 7b6cd91d5596 |
| parent 10261 | b9f3d98e717d |
| child 10263 | 38cf029c7181 |
| src/openttd.cpp | file | annotate | diff | comparison | revisions |
--- a/src/openttd.cpp Sun Oct 19 17:16:26 2008 +0000 +++ b/src/openttd.cpp Sun Oct 19 17:30:41 2008 +0000 @@ -1507,7 +1507,8 @@ 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: