aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/saga/sfuncs.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/saga/sfuncs.cpp b/engines/saga/sfuncs.cpp
index c84a09e7bf..eae0001702 100644
--- a/engines/saga/sfuncs.cpp
+++ b/engines/saga/sfuncs.cpp
@@ -1920,6 +1920,14 @@ void Script::sfWaitFrames(SCRIPTFUNC_PARAMS) {
int16 frames;
frames = thread->pop();
+ // HACK for the nightfall scene in Benny's chapter
+ // sfWaitFrames is supposed to wait for fadein and fadeout during that cutaway, but we
+ // don't support it yet (function sfScriptFade). This is a temporary hack to avoid
+ // having ScummVM wait for ever in that cutaway
+ // FIXME: Remove this hack once the palette fading is properly handled
+ if (_vm->_scene->currentChapterNumber() == 2 && _vm->_scene->currentSceneNumber() == 41 && _vm->_anim->hasCutaway())
+ return;
+
if (!_skipSpeeches)
thread->waitFrames(_vm->_frameCount + frames);
}