[Scummvm-cvs-logs] SF.net SVN: scummvm: [27438] scummvm/trunk/engines/saga/sfuncs.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Sat Jun 16 03:58:04 CEST 2007
Revision: 27438
http://scummvm.svn.sourceforge.net/scummvm/?rev=27438&view=rev
Author: thebluegr
Date: 2007-06-15 18:58:03 -0700 (Fri, 15 Jun 2007)
Log Message:
-----------
IHNM: Added a temporary workaround for the nightfall scene in Ben's chapter
Modified Paths:
--------------
scummvm/trunk/engines/saga/sfuncs.cpp
Modified: scummvm/trunk/engines/saga/sfuncs.cpp
===================================================================
--- scummvm/trunk/engines/saga/sfuncs.cpp 2007-06-15 21:40:02 UTC (rev 27437)
+++ scummvm/trunk/engines/saga/sfuncs.cpp 2007-06-16 01:58:03 UTC (rev 27438)
@@ -1920,6 +1920,14 @@
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);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list