summaryrefslogtreecommitdiff
path: root/src/window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/window.cpp')
-rw-r--r--src/window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.cpp b/src/window.cpp
index 7d1f6e120..5c6ef3fa7 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -2213,7 +2213,7 @@ static void MouseLoop(MouseClick click, int mousewheel)
case MC_DOUBLE_LEFT:
case MC_LEFT:
DEBUG(misc, 2, "Cursor: 0x%X (%d)", _cursor.sprite, _cursor.sprite);
- if (_thd.place_mode != HT_NONE && _pause_mode != PM_UNPAUSED) {
+ if (_thd.place_mode != HT_NONE && _pause_mode != PM_UNPAUSED && _game_mode != GM_EDITOR) {
switch (_settings_game.construction.command_pause_level) {
case CMDPL_ALL_ACTIONS:
/* We allow all actions. */