[Scummvm-cvs-logs] SF.net SVN: scummvm:[33872] scummvm/trunk/engines/cine/various.cpp
buddha_ at users.sourceforge.net
buddha_ at users.sourceforge.net
Thu Aug 14 22:49:34 CEST 2008
Revision: 33872
http://scummvm.svn.sourceforge.net/scummvm/?rev=33872&view=rev
Author: buddha_
Date: 2008-08-14 20:49:34 +0000 (Thu, 14 Aug 2008)
Log Message:
-----------
Fix for bugging moving at the bottom of the ocean when trying to free the girl from the ropes and swimming to the surface. Some global variables related to mouse position weren't being updated in executePlayerInput, now they are and things seem to work. Also enables moving in the labyrinth arcade sequence at the palace.
Modified Paths:
--------------
scummvm/trunk/engines/cine/various.cpp
Modified: scummvm/trunk/engines/cine/various.cpp
===================================================================
--- scummvm/trunk/engines/cine/various.cpp 2008-08-14 20:18:13 UTC (rev 33871)
+++ scummvm/trunk/engines/cine/various.cpp 2008-08-14 20:49:34 UTC (rev 33872)
@@ -2033,6 +2033,14 @@
}
}
+ // Update Operation Stealth specific global variables.
+ // This fixes swimming at the bottom of the ocean after
+ // having been thrown into it with the girl.
+ if (g_cine->getGameType() == Cine::GType_OS) {
+ globalVars[251] = globalVars[VAR_MOUSE_X_POS];
+ globalVars[252] = globalVars[VAR_MOUSE_Y_POS];
+ }
+
return var_5E;
}
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