mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-29 14:42:26 +00:00
HOPKINS: Fix glitch occurring when skipping the flight cut scene.
Thanks Greencis for reporting it
This commit is contained in:
parent
233cbb13b8
commit
8c31fa9cba
@ -1158,6 +1158,7 @@ bool HopkinsEngine::runFull() {
|
||||
break;
|
||||
|
||||
case 34:
|
||||
// In the airport, before the flight cut-scene
|
||||
_objectsMan->sceneControl("IM34", "IM34", "ANIM34", "IM34", 2, false);
|
||||
break;
|
||||
|
||||
@ -1188,6 +1189,7 @@ bool HopkinsEngine::runFull() {
|
||||
}
|
||||
|
||||
case 50:
|
||||
// Flight cut scene
|
||||
playPlaneCutscene();
|
||||
_globals->_exitId = 51;
|
||||
break;
|
||||
@ -2234,6 +2236,8 @@ void HopkinsEngine::playPlaneCutscene() {
|
||||
if (!_events->_escKeyFl) {
|
||||
_graphicsMan->_fadingFl = true;
|
||||
_animMan->playAnim("PARA00A.ANM", "PARA00.ANM", 9, 9, 9);
|
||||
} else {
|
||||
_graphicsMan->fadeOutShort();
|
||||
}
|
||||
|
||||
_events->_escKeyFl = false;
|
||||
|
@ -1980,6 +1980,7 @@ int ScriptManager::handleOpcode(const byte *dataP) {
|
||||
break;
|
||||
|
||||
case 216:
|
||||
// Discuss with pilot just before Flight cutscene
|
||||
_vm->_globals->_introSpeechOffFl = true;
|
||||
_vm->_talkMan->startAnimatedCharacterDialogue("aviat1.pe2");
|
||||
_vm->_globals->_introSpeechOffFl = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user