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

m_kiewitz at users.sourceforge.net m_kiewitz at users.sourceforge.net
Sun Jan 10 12:33:10 CET 2010


Revision: 47223
          http://scummvm.svn.sourceforge.net/scummvm/?rev=47223&view=rev
Author:   m_kiewitz
Date:     2010-01-10 11:33:10 +0000 (Sun, 10 Jan 2010)

Log Message:
-----------
SCI: fixed typo when getting resourceId on kPortrait call - fixes resource not found in kq6 within pawn shop

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-01-10 11:29:58 UTC (rev 47222)
+++ scummvm/trunk/engines/sci/engine/kgraphics.cpp	2010-01-10 11:33:10 UTC (rev 47223)
@@ -658,7 +658,7 @@
 		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();
 			uint noun = argv[5].toUint16() & 0xff;
 			uint verb = argv[6].toUint16() & 0xff;
 			uint cond = argv[7].toUint16() & 0xff;


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