Fix #8142, 5aa6351: Buoy owner and tile owner can be different (#8143)

This commit is contained in:
glx22 2020-05-12 15:22:58 +02:00 committed by Charles Pigott
parent 78e558717c
commit 74b591c2e9
1 changed files with 1 additions and 1 deletions

View File

@ -899,7 +899,7 @@ bool AfterLoadGame()
BaseStation *bst = BaseStation::GetByTile(t);
/* 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 */
bst->rect.BeforeAddTile(t, StationRect::ADD_FORCE);