diff options
author | Strangerke | 2012-06-15 23:47:09 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2018-03-28 17:36:57 +0200 |
commit | 7084803a7a7d16cd8e9027a59d67447806f0911b (patch) | |
tree | 161c7e87e7854aba4ae0f56edd72128205ff4a15 /engines/lilliput | |
parent | 686b59e53e6f2c39647e2967b7398d5d41ad6e41 (diff) | |
download | scummvm-rg350-7084803a7a7d16cd8e9027a59d67447806f0911b.tar.gz scummvm-rg350-7084803a7a7d16cd8e9027a59d67447806f0911b.tar.bz2 scummvm-rg350-7084803a7a7d16cd8e9027a59d67447806f0911b.zip |
LILLIPUT: Implement OC_sub17E22_speech1IfSoundOff, silent warnings in OC_loadFile_AERIAL_GFX
Diffstat (limited to 'engines/lilliput')
-rw-r--r-- | engines/lilliput/script.cpp | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/engines/lilliput/script.cpp b/engines/lilliput/script.cpp index 2b54e205af..e3fd70adea 100644 --- a/engines/lilliput/script.cpp +++ b/engines/lilliput/script.cpp @@ -3105,9 +3105,11 @@ void LilliputScript::OC_disableInterfaceHotspot() { void LilliputScript::OC_loadFile_AERIAL_GFX() { debugC(1, kDebugScriptTBC, "OC_loadFile_AERIAL_GFX()"); - int var1 = _currScript->readUint16LE() & 0xFF; -// unused variable +// Unused variable +// int var1 = _currScript->readUint16LE() & 0xFF; // byte _byte15EAD = var1; + _currScript->readUint16LE(); +// _vm->_refreshScreenFlag = true; _talkingCharacter = -1; @@ -3125,7 +3127,12 @@ void LilliputScript::OC_loadFile_AERIAL_GFX() { } void LilliputScript::OC_sub17E22_speech1IfSoundOff() { - warning("OC_sub17E22_speech1IfSoundOff"); + debugC(1, kDebugScriptTBC, "OC_sub17E22_speech1IfSoundOff()"); + + // HACK: In the original, OC_sub17E22_speech1IfSoundOff() only calls + // OC_startSpeech if sound is off. For the moment, it's always called + + OC_startSpeech(); } void LilliputScript::OC_sub1844A() { |