summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/unmovable_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unmovable_cmd.cpp b/src/unmovable_cmd.cpp
index 45d4cbc30..b73e099a5 100644
--- a/src/unmovable_cmd.cpp
+++ b/src/unmovable_cmd.cpp
@@ -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);
}