From cca613e3b885d94b54bf9bcb3f2bd7ee85381fac Mon Sep 17 00:00:00 2001 From: glx22 Date: Tue, 12 May 2020 15:22:58 +0200 Subject: Fix #8142, 5aa6351: Buoy owner and tile owner can be different (#8143) --- src/saveload/afterload.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/saveload/afterload.cpp b/src/saveload/afterload.cpp index 14d5e5434..fa95303f6 100644 --- a/src/saveload/afterload.cpp +++ b/src/saveload/afterload.cpp @@ -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); -- cgit v1.2.3-70-g09d2