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

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Sat Oct 31 20:55:55 CET 2009


Revision: 45582
          http://scummvm.svn.sourceforge.net/scummvm/?rev=45582&view=rev
Author:   lordhoto
Date:     2009-10-31 19:55:49 +0000 (Sat, 31 Oct 2009)

Log Message:
-----------
Fix compilation.

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-10-31 19:53:52 UTC (rev 45581)
+++ scummvm/trunk/engines/sci/engine/kgraphics.cpp	2009-10-31 19:55:49 UTC (rev 45582)
@@ -653,11 +653,11 @@
 		if (argc == 10) {
 			Common::String resourceName = s->_segMan->getString(argv[1]);
 			Common::Point position = Common::Point(argv[2].toUint16(), argv[3].toUint16());
-			/*uint resourceNum = argv[4].toUint16() & 0xff;
+			uint resourceNum = argv[4].toUint16() & 0xff;
 			uint noun = argv[5].toUint16() & 0xff;
 			uint verb = argv[6].toUint16() & 0xff;
 			uint cond = argv[7].toUint16() & 0xff;
-			uint seq = argv[8].toUint16() & 0xff;*/
+			uint seq = argv[8].toUint16() & 0xff;
 			// argv[9] is usually 0??!!
 
 			s->_gui->portraitShow(resourceName, position, resourceNum, noun, verb, cond, seq);
@@ -670,7 +670,7 @@
 	}
 	case 2: { // unload
 		if (argc == 2) {
-			//uint16 portraitId = argv[1].toUint16();
+			uint16 portraitId = argv[1].toUint16();
 			s->_gui->portraitUnload(portraitId);
 		} else {
 			warning("kPortrait(unload) called with unsupported argc %d", argc);


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