mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r14493) -Fix[FS#planetmaker]: Do not assign a station spread to buoys on loading games.
This commit is contained in:
parent
6815cc52fe
commit
4dcf12a3ad
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue