[Scummvm-cvs-logs] SF.net SVN: scummvm:[44507] scummvm/trunk/engines/sci/engine/kgraphics.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Thu Oct 1 01:27:00 CEST 2009


Revision: 44507
          http://scummvm.svn.sourceforge.net/scummvm/?rev=44507&view=rev
Author:   thebluegr
Date:     2009-09-30 23:27:00 +0000 (Wed, 30 Sep 2009)

Log Message:
-----------
Removed an old (and now obsolete) workaround for KQ5

Modified Paths:
--------------
    scummvm/trunk/engines/sci/engine/kgraphics.cpp

Modified: scummvm/trunk/engines/sci/engine/kgraphics.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/kgraphics.cpp	2009-09-30 23:13:46 UTC (rev 44506)
+++ scummvm/trunk/engines/sci/engine/kgraphics.cpp	2009-09-30 23:27:00 UTC (rev 44507)
@@ -3163,14 +3163,6 @@
 	bg_color = port->_bgcolor;
 	// TODO: in SCI1VGA the default colors for text and background are #0 (black)
 	// SCI0 case should be checked
-	if (s->resMan->isVGA()) {
-		// This priority check fixes the colors in the menus in KQ5
-		// TODO/FIXME: Is this correct?
-		if (color0.priority >= 0)
-			color0.visual = get_pic_color(s, 0);
-		if (bg_color.priority >= 0)
-			bg_color.visual = get_pic_color(s, 0);
-	}
 
 	if (textp.segment) {
 		argpt = 1;


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