[Scummvm-cvs-logs] SF.net SVN: scummvm: [31065] scummvm/trunk/engines/kyra/script_v1.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Sat Mar 8 20:28:42 CET 2008


Revision: 31065
          http://scummvm.svn.sourceforge.net/scummvm/?rev=31065&view=rev
Author:   lordhoto
Date:     2008-03-08 11:28:42 -0800 (Sat, 08 Mar 2008)

Log Message:
-----------
Fix for bug #1910180 "KYRA1: Screen "flash"".

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/script_v1.cpp

Modified: scummvm/trunk/engines/kyra/script_v1.cpp
===================================================================
--- scummvm/trunk/engines/kyra/script_v1.cpp	2008-03-08 18:33:59 UTC (rev 31064)
+++ scummvm/trunk/engines/kyra/script_v1.cpp	2008-03-08 19:28:42 UTC (rev 31065)
@@ -1181,7 +1181,11 @@
 	_screen->copyBackgroundBlock2(stackPos(0));
 	// update the whole screen
 	_screen->copyRegion(7, 7, 7, 7, 305, 129, 3, 0);
-	_screen->updateScreen();
+	// Don't do a screen update here, it see bug #1910180 "KYRA1: Screen "flash""
+	// it would cause to draw the screen with a wrong palette and thus look
+	// strange for the user. Since this opcode should be just called on scene
+	// initialization anyway, there should be no problem with not updating the
+	// screen right now.
 	return 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