aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKari Salminen2010-01-24 20:16:16 +0000
committerKari Salminen2010-01-24 20:16:16 +0000
commit710dd335920ec10187b3af339c502dab89262412 (patch)
treed864b07259ca3c36b66263e848abe364d8939ec2
parentbd7b9400a695e7b7f2fc698eb117a16c2821cb2a (diff)
downloadscummvm-rg350-710dd335920ec10187b3af339c502dab89262412.tar.gz
scummvm-rg350-710dd335920ec10187b3af339c502dab89262412.tar.bz2
scummvm-rg350-710dd335920ec10187b3af339c502dab89262412.zip
Cine: executePlayerInput: Fix broken Y-movement in Operation Stealth (D'oh! Copy-pasted X to where Y was meant :-P).
- Hopefully NOW things should work without r33872! svn-id: r47518
-rw-r--r--engines/cine/various.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/cine/various.cpp b/engines/cine/various.cpp
index a317210c23..53a38aa57c 100644
--- a/engines/cine/various.cpp
+++ b/engines/cine/various.cpp
@@ -939,7 +939,7 @@ uint16 executePlayerInput() {
globalVars[VAR_MOUSE_Y_POS]++;
}
globalVars[VAR_MOUSE_X_POS_2ND] = globalVars[VAR_MOUSE_X_POS];
- globalVars[VAR_MOUSE_Y_POS_2ND] = globalVars[VAR_MOUSE_X_POS];
+ globalVars[VAR_MOUSE_Y_POS_2ND] = globalVars[VAR_MOUSE_Y_POS];
}
}
}
@@ -978,7 +978,7 @@ uint16 executePlayerInput() {
globalVars[VAR_MOUSE_Y_POS]++;
}
globalVars[VAR_MOUSE_X_POS_2ND] = globalVars[VAR_MOUSE_X_POS];
- globalVars[VAR_MOUSE_Y_POS_2ND] = globalVars[VAR_MOUSE_X_POS];
+ globalVars[VAR_MOUSE_Y_POS_2ND] = globalVars[VAR_MOUSE_Y_POS];
}
objIdx = getObjectUnderCursor(mouseX, mouseY);