[Scummvm-cvs-logs] SF.net SVN: scummvm: [23608] scummvm/trunk/engines/kyra/script_v1.cpp
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Thu Jul 27 02:09:18 CEST 2006
Revision: 23608
Author: lordhoto
Date: 2006-07-26 17:09:13 -0700 (Wed, 26 Jul 2006)
ViewCVS: http://svn.sourceforge.net/scummvm/?rev=23608&view=rev
Log Message:
-----------
Workaround for bug #1498221 ("KYRA1: Glitches when meeting Zanthia").
Modified Paths:
--------------
scummvm/trunk/engines/kyra/script_v1.cpp
Modified: scummvm/trunk/engines/kyra/script_v1.cpp
===================================================================
--- scummvm/trunk/engines/kyra/script_v1.cpp 2006-07-26 22:45:15 UTC (rev 23607)
+++ scummvm/trunk/engines/kyra/script_v1.cpp 2006-07-27 00:09:13 UTC (rev 23608)
@@ -753,6 +753,20 @@
if (maxTime - 1 <= 0)
maxTime = 1;
+ // Workaround for bug #1498221 "KYRA1: Glitches when meeting Zanthia"
+ // the original didn'to do a forced screen update after displaying a wsa frame
+ // while we have to do it, which make brandon disappear for a short moment,
+ // which shouldn't happen. So we're not updating the screen for this special
+ // case too.
+ if (startFrame == 18 && endFrame == 18 && _currentRoom == 45) {
+ _movieObjects[wsaIndex]->setX(xpos);
+ _movieObjects[wsaIndex]->setY(ypos);
+ _movieObjects[wsaIndex]->setDrawPage(0);
+ _movieObjects[wsaIndex]->displayFrame(18);
+ delay(waitTime * _tickLength);
+ return 0;
+ }
+
_movieObjects[wsaIndex]->setX(xpos);
_movieObjects[wsaIndex]->setY(ypos);
_movieObjects[wsaIndex]->setDrawPage(0);
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