[Scummvm-cvs-logs] SF.net SVN: scummvm:[42199] scummvm/trunk/engines/cruise/function.cpp
dreammaster at users.sourceforge.net
dreammaster at users.sourceforge.net
Tue Jul 7 08:23:09 CEST 2009
Revision: 42199
http://scummvm.svn.sourceforge.net/scummvm/?rev=42199&view=rev
Author: dreammaster
Date: 2009-07-07 06:23:09 +0000 (Tue, 07 Jul 2009)
Log Message:
-----------
Fix to the return values of the Op_GetMouseButton library function now allows the game's "Fisticuffs path" to work properly
Modified Paths:
--------------
scummvm/trunk/engines/cruise/function.cpp
Modified: scummvm/trunk/engines/cruise/function.cpp
===================================================================
--- scummvm/trunk/engines/cruise/function.cpp 2009-07-07 02:51:42 UTC (rev 42198)
+++ scummvm/trunk/engines/cruise/function.cpp 2009-07-07 06:23:09 UTC (rev 42199)
@@ -709,9 +709,7 @@
getMouseStatus(&dummy, &mouseX, &mouseButton, &mouseY);
- if (mouseButton)
- return 1;
- return 0;
+ return mouseButton;
}
int16 Op_AddCell(void) {
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