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

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Fri Aug 20 20:52:22 CEST 2010


Revision: 52237
          http://scummvm.svn.sourceforge.net/scummvm/?rev=52237&view=rev
Author:   thebluegr
Date:     2010-08-20 18:52:21 +0000 (Fri, 20 Aug 2010)

Log Message:
-----------
SCI: Fixed bug #3039308 - "HOYLE4: Rules Dialog missing background"

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

Modified: scummvm/trunk/engines/sci/engine/kmath.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/kmath.cpp	2010-08-20 18:43:00 UTC (rev 52236)
+++ scummvm/trunk/engines/sci/engine/kmath.cpp	2010-08-20 18:52:21 UTC (rev 52237)
@@ -35,8 +35,8 @@
 		return NULL_REG;
 
 	case 2: { // get random number
-		int fromNumber = argv[0].toUint16();
-		int toNumber = argv[1].toUint16();
+		int fromNumber = argv[0].toSint16();
+		int toNumber = argv[1].toSint16();
 
 		// TODO/CHECKME: It is propbably not required to check whether
 		// toNumber is greater than fromNumber, at least not when one


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