(svn r12032) -Fix: When removing a statue, remove town statue flag for the statue owner, not current player.

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
peter1138 17 years ago
parent be548ee224
commit e0849acc5a

@ -267,7 +267,7 @@ static CommandCost ClearTile_Unmovable(TileIndex tile, byte flags)
if (flags & DC_AUTO) return_cmd_error(STR_5800_OBJECT_IN_THE_WAY);
TownID town = GetStatueTownID(tile);
ClrBit(GetTown(town)->statues, _current_player);
ClrBit(GetTown(town)->statues, GetTileOwner(tile));
InvalidateWindow(WC_TOWN_AUTHORITY, town);
}

Loading…
Cancel
Save