mirror of https://github.com/OpenTTD/OpenTTD
(svn r12032) -Fix: When removing a statue, remove town statue flag for the statue owner, not current player.
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…
Reference in New Issue