mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-04 05:15:21 +00:00
(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
Block a user