mirror of https://github.com/OpenTTD/OpenTTD.git
parent
78e558717c
commit
74b591c2e9
|
@ -899,7 +899,7 @@ bool AfterLoadGame()
|
||||||
BaseStation *bst = BaseStation::GetByTile(t);
|
BaseStation *bst = BaseStation::GetByTile(t);
|
||||||
|
|
||||||
/* Sanity check */
|
/* Sanity check */
|
||||||
if (bst->owner != GetTileOwner(t)) SlErrorCorrupt("Wrong owner for station tile");
|
if (!IsBuoy(t) && bst->owner != GetTileOwner(t)) SlErrorCorrupt("Wrong owner for station tile");
|
||||||
|
|
||||||
/* Set up station spread */
|
/* Set up station spread */
|
||||||
bst->rect.BeforeAddTile(t, StationRect::ADD_FORCE);
|
bst->rect.BeforeAddTile(t, StationRect::ADD_FORCE);
|
||||||
|
|
Loading…
Reference in New Issue