summaryrefslogtreecommitdiff
path: root/src/misc_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc_gui.cpp')
-rw-r--r--src/misc_gui.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/misc_gui.cpp b/src/misc_gui.cpp
index 9e770cb41..c86f6c6a3 100644
--- a/src/misc_gui.cpp
+++ b/src/misc_gui.cpp
@@ -199,6 +199,7 @@ public:
if (c != NULL) {
Money old_money = c->money;
c->money = INT64_MAX;
+ assert(_current_company == _local_company);
CommandCost costclear = DoCommand(tile, 0, 0, DC_NONE, CMD_LANDSCAPE_CLEAR);
c->money = old_money;
if (costclear.Succeeded()) {