SCI: Allow multi-step tracing with step-over in debugger

This commit is contained in:
Colin Snover 2017-09-19 01:37:23 -05:00
parent d363234129
commit 682b8790fd

View File

@ -3479,9 +3479,7 @@ bool Console::cmdTrace(int argc, const char **argv) {
bool Console::cmdStepOver(int argc, const char **argv) {
_debugState.seeking = kDebugSeekStepOver;
_debugState.seekLevel = _engine->_gamestate->_executionStack.size();
_debugState.debugging = true;
return cmdExit(0, 0);
return cmdTrace(argc, argv);
}
bool Console::cmdStepEvent(int argc, const char **argv) {