[Scummvm-cvs-logs] SF.net SVN: scummvm: [23376] scummvm/trunk/engines/scumm/scumm.cpp

kirben at users.sourceforge.net kirben at users.sourceforge.net
Thu Jul 6 13:40:54 CEST 2006


Revision: 23376
Author:   kirben
Date:     2006-07-06 04:40:50 -0700 (Thu, 06 Jul 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=23376&view=rev

Log Message:
-----------
Add cyx's patch for 1513622 - HE: Palette glitch (recent regression)

Modified Paths:
--------------
    scummvm/trunk/engines/scumm/scumm.cpp
Modified: scummvm/trunk/engines/scumm/scumm.cpp
===================================================================
--- scummvm/trunk/engines/scumm/scumm.cpp	2006-07-06 11:24:58 UTC (rev 23375)
+++ scummvm/trunk/engines/scumm/scumm.cpp	2006-07-06 11:40:50 UTC (rev 23376)
@@ -1593,10 +1593,6 @@
 	// that it will be in a different state each time you run the program.
 	_rnd.getRandomNumber(2);
 
-	if (_game.version <= 6) {
-		updatePalette();
-	}
-
 #ifndef DISABLE_HE
 	if (_game.heversion >= 90) {
 		((ScummEngine_v90he *)this)->_moviePlay->handleNextFrame();
@@ -1758,9 +1754,7 @@
 		handleMouseOver(oldEgo != VAR(VAR_EGO));
 
 		// Render everything to the screen.
-		if (_game.version >= 7) {
-			updatePalette();
-		}
+		updatePalette();
 		drawDirtyScreenParts();
 
 		// FIXME / TODO: Try to move the following to scummLoop_handleSound or


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