(svn r14493) -Fix[FS#planetmaker]: Do not assign a station spread to buoys on loading games.
This commit is contained in:
@@ -1507,7 +1507,8 @@ bool AfterLoadGame()
|
|||||||
case MP_STATION: {
|
case MP_STATION: {
|
||||||
Station *st = GetStationByTile(t);
|
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)) {
|
switch (GetStationType(t)) {
|
||||||
case STATION_TRUCK:
|
case STATION_TRUCK:
|
||||||
|
Reference in New Issue
Block a user