LILLIPUT: Fix bug in OC_compWord10804

This commit is contained in:
Strangerke 2012-05-18 17:06:58 +02:00 committed by Eugene Sandulenko
parent 3a102e6f24
commit 9ecbc0e327
2 changed files with 7 additions and 7 deletions

View file

@ -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();
}