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

This commit is contained in:
peter1138 2008-01-31 23:04:45 +00:00
parent ef66b08784
commit 7457d8807a

View File

@ -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);
}