Changeset - r24190:b30862266ef4
[Not reviewed]
master
0 1 0
glx22 - 4 years ago 2020-05-12 13:22:58
glx22@users.noreply.github.com
Fix #8142, 5aa6351: Buoy owner and tile owner can be different (#8143)
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/saveload/afterload.cpp
Show inline comments
 
@@ -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);
0 comments (0 inline, 0 general)