diff options
author | Gregory Montoir | 2006-11-05 00:20:36 +0000 |
---|---|---|
committer | Gregory Montoir | 2006-11-05 00:20:36 +0000 |
commit | 6fb623284cf7453f80b1688b1fe38d97d74daff4 (patch) | |
tree | fc3e231c159eb0b7cebed4b49b5c9d8c9aed61e3 /engines/touche/touche.cpp | |
parent | db1fc75012ae1d6b2864ceae9c7900bd80d06508 (diff) | |
download | scummvm-rg350-6fb623284cf7453f80b1688b1fe38d97d74daff4.tar.gz scummvm-rg350-6fb623284cf7453f80b1688b1fe38d97d74daff4.tar.bz2 scummvm-rg350-6fb623284cf7453f80b1688b1fe38d97d74daff4.zip |
cleanup
svn-id: r24614
Diffstat (limited to 'engines/touche/touche.cpp')
-rw-r--r-- | engines/touche/touche.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/touche/touche.cpp b/engines/touche/touche.cpp index 721a2febc2..9d564bca6d 100644 --- a/engines/touche/touche.cpp +++ b/engines/touche/touche.cpp @@ -103,7 +103,6 @@ int ToucheEngine::go() { res_deallocateTables(); res_closeDataFile(); - return 0; } @@ -540,7 +539,7 @@ void ToucheEngine::executeScriptOpcode(int16 param) { debugC(9, kDebugEngine, "executeScriptOpcode(%d) offset=%04X", param, _script.dataOffset); _script.keyCharNum = param; _script.opcodeNum = _script.readNextByte(); - if (_script.opcodeNum < NUM_OPCODES) { + if (_script.opcodeNum < _numOpcodes) { OpcodeProc op = _opcodesTable[_script.opcodeNum]; if (op) { (this->*op)(); |