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

lskovlun at users.sourceforge.net lskovlun at users.sourceforge.net
Fri Jun 18 00:08:07 CEST 2010


Revision: 49953
          http://scummvm.svn.sourceforge.net/scummvm/?rev=49953&view=rev
Author:   lskovlun
Date:     2010-06-17 22:08:07 +0000 (Thu, 17 Jun 2010)

Log Message:
-----------
SCI: PlayVMD(1): Hmmm. Don't print gammaBoost etc if they aren't used

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

Modified: scummvm/trunk/engines/sci/engine/kgraphics.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/kgraphics.cpp	2010-06-17 22:05:28 UTC (rev 49952)
+++ scummvm/trunk/engines/sci/engine/kgraphics.cpp	2010-06-17 22:08:07 UTC (rev 49953)
@@ -1334,7 +1334,7 @@
 		warning("VMDFlags: %s", flagspec.c_str());
 		warning("x, y: %d, %d", argv[1].offset, argv[2].offset);
 
-		if (argc > 4)
+		if (argc > 4 && flags & 16)
 			warning("gammaBoost: %d%% between palette entries %d and %d", argv[4].offset, argv[5].offset, argv[6].offset);
 		break;
 	}


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