Skip to content

Commit

Permalink
HOPKINS: Fix glitch before entering bank, in Windows demo
Browse files Browse the repository at this point in the history
Thanks Greencis for reporting it
  • Loading branch information
Strangerke committed Jun 15, 2013
1 parent 869999f commit f023321
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions engines/hopkins/script.cpp
Expand Up @@ -536,13 +536,15 @@ 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();
_vm->_talkMan->startAnimatedCharacterDialogue("bqetueur.pe2");
break;

case 13:
// Bank - after negotiations, Hopkins enters the bank
_vm->_events->_mouseButton = _vm->_events->_curMouseButton;
_vm->_globals->_disableInventFl = true;
_vm->_graphicsMan->fadeOutLong();
Expand All @@ -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);
Expand Down

0 comments on commit f023321

Please sign in to comment.