mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-04 06:00:15 +00:00
(svn r12032) -Fix: When removing a statue, remove town statue flag for the statue owner, not current player.
This commit is contained in:
parent
ef66b08784
commit
7457d8807a
@ -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…
Reference in New Issue
Block a user