diff options
author | Strangerke | 2013-06-15 15:00:09 +0200 |
---|---|---|
committer | Strangerke | 2013-06-15 15:00:09 +0200 |
commit | f0233216c8cc0c87af903a177108586fa3aea907 (patch) | |
tree | 73b3fcaf76bd98d7bbcc83b5eb17b2813e9f9077 /engines | |
parent | 869999f3c6193505a1c3ac0090c436213a63e850 (diff) | |
download | scummvm-rg350-f0233216c8cc0c87af903a177108586fa3aea907.tar.gz scummvm-rg350-f0233216c8cc0c87af903a177108586fa3aea907.tar.bz2 scummvm-rg350-f0233216c8cc0c87af903a177108586fa3aea907.zip |
HOPKINS: Fix glitch before entering bank, in Windows demo
Thanks Greencis for reporting it
Diffstat (limited to 'engines')
-rw-r--r-- | engines/hopkins/script.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/hopkins/script.cpp b/engines/hopkins/script.cpp index c39273203d..78339ce1a6 100644 --- a/engines/hopkins/script.cpp +++ b/engines/hopkins/script.cpp @@ -536,6 +536,7 @@ int ScriptManager::handleOpcode(const byte *dataP) { break; case 12: + // Bank - negotiations between Hopkins and one of the killers _vm->_fontMan->hideText(9); _vm->_events->refreshScreenAndEvents(); _vm->_events->refreshScreenAndEvents(); @@ -543,6 +544,7 @@ int ScriptManager::handleOpcode(const byte *dataP) { break; case 13: + // Bank - after negotiations, Hopkins enters the bank _vm->_events->_mouseButton = _vm->_events->_curMouseButton; _vm->_globals->_disableInventFl = true; _vm->_graphicsMan->fadeOutLong(); @@ -553,9 +555,7 @@ int ScriptManager::handleOpcode(const byte *dataP) { _vm->_graphicsMan->endDisplayBob(); _vm->_objectsMan->clearScreen(); - if ((_vm->getPlatform() == Common::kPlatformWindows) && _vm->getIsDemo()) { - _vm->_graphicsMan->fadeOutLong(); - } else { + if ((_vm->getPlatform() != Common::kPlatformWindows) || !_vm->getIsDemo()) { _vm->_soundMan->playSoundFile("SOUND17.WAV"); _vm->_graphicsMan->_fadingFl = true; _vm->_animMan->playSequence2("HELICO.SEQ", 10, 4, 10); |