diff options
Diffstat (limited to 'engines/lilliput')
-rw-r--r-- | engines/lilliput/lilliput.h | 4 | ||||
-rw-r--r-- | engines/lilliput/script.cpp | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/engines/lilliput/lilliput.h b/engines/lilliput/lilliput.h index 84b1a60105..5ec93e1c6f 100644 --- a/engines/lilliput/lilliput.h +++ b/engines/lilliput/lilliput.h @@ -337,8 +337,8 @@ public: byte _byte12FCE; byte _byte129A0; byte _numCharactersToDisplay; - byte _byte16C9F; - int _word10804; + byte _byte16C9F; + int16 _word10804; bool _shouldQuit; diff --git a/engines/lilliput/script.cpp b/engines/lilliput/script.cpp index 2f784f8373..32ee332cfb 100644 --- a/engines/lilliput/script.cpp +++ b/engines/lilliput/script.cpp @@ -1743,9 +1743,9 @@ byte LilliputScript::OC_sub176C4() { } byte LilliputScript::OC_compWord10804() { - debugC(1, kDebugScriptTBC, "OC_compWord10804()"); + debugC(1, kDebugScript, "OC_compWord10804()"); - byte tmpVal = getValue1(); + int tmpVal = getValue1(); if (tmpVal == _vm->_word10804) return 1; @@ -2284,7 +2284,7 @@ void LilliputScript::OC_setCharacterPosition() { } void LilliputScript::OC_DisableCharacter() { - debugC(1, kDebugScriptTBC, "OC_DisableCharacter()"); + debugC(1, kDebugScript, "OC_DisableCharacter()"); int characterIndex = getValue1(); assert(characterIndex < 40); @@ -2352,7 +2352,7 @@ void LilliputScript::OC_setByte18823() { } void LilliputScript::OC_callScript() { - debugC(1, kDebugScriptTBC, "OC_callScript()"); + debugC(1, kDebugScript, "OC_callScript()"); int index = _currScript->readUint16LE(); int var1 = getValue1(); @@ -2416,7 +2416,7 @@ void LilliputScript::OC_sub17AEE() { } void LilliputScript::OC_setWord10804() { - debugC(1, kDebugScriptTBC, "OC_setWord10804()"); + debugC(1, kDebugScript, "OC_setWord10804()"); _vm->_word10804 = getValue1(); } |