aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorKari Salminen2010-01-24 19:52:11 +0000
committerKari Salminen2010-01-24 19:52:11 +0000
commitab730891ad254394842f603e26e3b8127fc4406e (patch)
tree3202210407043d175bb2ed8bbb8fb132399d7ba9 /engines
parentc19afec75aa25474561aad2ed3854356867d181e (diff)
downloadscummvm-rg350-ab730891ad254394842f603e26e3b8127fc4406e.tar.gz
scummvm-rg350-ab730891ad254394842f603e26e3b8127fc4406e.tar.bz2
scummvm-rg350-ab730891ad254394842f603e26e3b8127fc4406e.zip
Cine: executePlayerInput: Revert r33872 as things should work without it now.
With the latest changes to executePlayerInput we should now be able to free the girl at the bottom of the ocean without the r33872. The commit log from r33872 was: "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." svn-id: r47516
Diffstat (limited to 'engines')
-rw-r--r--engines/cine/various.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/engines/cine/various.cpp b/engines/cine/various.cpp
index c2dfefad23..4a8bddd4c6 100644
--- a/engines/cine/various.cpp
+++ b/engines/cine/various.cpp
@@ -1145,14 +1145,6 @@ uint16 executePlayerInput() {
renderer->clearMenuStack();
- // 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[VAR_MOUSE_X_POS_2ND] = globalVars[VAR_MOUSE_X_POS];
- globalVars[VAR_MOUSE_Y_POS_2ND] = globalVars[VAR_MOUSE_Y_POS];
- }
-
return var_5E;
}