aboutsummaryrefslogtreecommitdiff
path: root/engines/dm/eventman.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/dm/eventman.cpp')
-rw-r--r--engines/dm/eventman.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/dm/eventman.cpp b/engines/dm/eventman.cpp
index af875a94e5..e0ac2c45bd 100644
--- a/engines/dm/eventman.cpp
+++ b/engines/dm/eventman.cpp
@@ -918,7 +918,8 @@ void EventManager::f366_commandMoveParty(CommandType cmdType) {
}
}
}
- if (L1117_B_MovementBlocked) {
+ // DEBUG CODE: check for Console flag
+ if (L1117_B_MovementBlocked && !_vm->_console->_debugNoclip) {
f357_discardAllInput();
_vm->_g321_stopWaitingForPlayerInput = false;
return;