diff options
author | Max Horn | 2003-05-04 02:39:59 +0000 |
---|---|---|
committer | Max Horn | 2003-05-04 02:39:59 +0000 |
commit | 2397d2599edf58c8de5e595eadd8ccbce8bf7197 (patch) | |
tree | ef62fc4f8683172f6ad21cb52cb2a57b0de4ad2e /scumm/script_v2.cpp | |
parent | ef5c32b3a202f18739dae225d8d4227279fc8303 (diff) | |
download | scummvm-rg350-2397d2599edf58c8de5e595eadd8ccbce8bf7197.tar.gz scummvm-rg350-2397d2599edf58c8de5e595eadd8ccbce8bf7197.tar.bz2 scummvm-rg350-2397d2599edf58c8de5e595eadd8ccbce8bf7197.zip |
make readVar debug output slightly more useful
svn-id: r7304
Diffstat (limited to 'scumm/script_v2.cpp')
-rw-r--r-- | scumm/script_v2.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scumm/script_v2.cpp b/scumm/script_v2.cpp index dcc6549d76..1532aa8d8e 100644 --- a/scumm/script_v2.cpp +++ b/scumm/script_v2.cpp @@ -394,11 +394,11 @@ void Scumm_v2::decodeParseString() { } int Scumm_v2::readVar(uint var) { - debug(6, "readvar(%d)", var); if (var >= 14 && var <= 16) var = _vars[var]; checkRange(_numVariables - 1, 0, var, "Variable %d out of range(r)"); + debug(6, "readvar(%d) = %d", var, _vars[var]); return _vars[var]; } @@ -647,6 +647,7 @@ void Scumm_v2::o2_waitForSentence() { } void Scumm_v2::o2_restart() { + warning("o2_restart NYI"); } void Scumm_v2::o2_drawObject() { |