[Scummvm-cvs-logs] SF.net SVN: scummvm:[51497] scummvm/trunk/engines/sci/engine/kgraphics.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Fri Jul 30 08:18:28 CEST 2010
Revision: 51497
http://scummvm.svn.sourceforge.net/scummvm/?rev=51497&view=rev
Author: thebluegr
Date: 2010-07-30 06:18:28 +0000 (Fri, 30 Jul 2010)
Log Message:
-----------
SCI: Added a case for 10 params inside kSetCursorSci11(), thus fixing the crash from bug #3034973 - "PHARKAS: Crash early in game'
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-07-30 05:31:20 UTC (rev 51496)
+++ scummvm/trunk/engines/sci/engine/kgraphics.cpp 2010-07-30 06:18:28 UTC (rev 51497)
@@ -174,6 +174,12 @@
}
case 5:
case 9:
+ case 10: // Freddy Pharkas, when using the whiskey glass to read
+ // the prescription (bug #3034973) - looks like an erroneous
+ // extra param
+ // TODO: We don't really use parameter indices 6-10 (with no side
+ // effects), are they used for something, or are these a result of
+ // script bugs?
hotspot = new Common::Point(argv[3].toSint16(), argv[4].toSint16());
// Fallthrough
case 3:
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