diff options
-rw-r--r-- | scumm/debugger.cpp | 2 | ||||
-rw-r--r-- | scumm/script_v2.cpp | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/scumm/debugger.cpp b/scumm/debugger.cpp index ab33ab264c..5d46f208a4 100644 --- a/scumm/debugger.cpp +++ b/scumm/debugger.cpp @@ -654,7 +654,7 @@ bool ScummDebugger::Cmd_Object(int argc, const char **argv) { } else if (!strcmp(argv[2], "state")) { _s->putState(obj, atoi(argv[3])); //is BgNeedsRedraw enough? - _s->_BgNeedsRedraw = TRUE; + _s->_BgNeedsRedraw = true; } else { Debug_Printf("Unknown object command '%s'\nUse <pickup | state> as command\n", argv[2]); } diff --git a/scumm/script_v2.cpp b/scumm/script_v2.cpp index af7c62030f..06df52eac6 100644 --- a/scumm/script_v2.cpp +++ b/scumm/script_v2.cpp @@ -816,6 +816,9 @@ void Scumm_v2::o2_verbOps() { slot = getVarOrDirectByte(0x80) + 1; /* int unk = */ fetchScriptByte(); // ? + if (_version == 1) // V1 Verbs are positioned relative to the 'verb area' - under the sentence + y+=9; + //printf("o2_verbOps: verb = %d, slot = %d, x = %d, y = %d, unk = %d, name = %s\n", // verb, slot, x, y, unk, _scriptPointer); |