(svn r12031) -Fix [FS#1689,FS#1719]: Prevent towns from removing or claiming ownership of player owned tiles when growing.
This commit is contained in:
@@ -264,6 +264,8 @@ static CommandCost ClearTile_Unmovable(TileIndex tile, byte flags)
|
||||
return_cmd_error(STR_5800_OBJECT_IN_THE_WAY);
|
||||
|
||||
if (IsStatue(tile)) {
|
||||
if (flags & DC_AUTO) return_cmd_error(STR_5800_OBJECT_IN_THE_WAY);
|
||||
|
||||
TownID town = GetStatueTownID(tile);
|
||||
ClrBit(GetTown(town)->statues, _current_player);
|
||||
InvalidateWindow(WC_TOWN_AUTHORITY, town);
|
||||
|
Reference in New Issue
Block a user