diff options
Diffstat (limited to 'engines/cine')
-rw-r--r-- | engines/cine/various.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/cine/various.cpp b/engines/cine/various.cpp index d5fa816647..7f9c13b147 100644 --- a/engines/cine/various.cpp +++ b/engines/cine/various.cpp @@ -959,6 +959,14 @@ uint16 executePlayerInput() { globalVars[VAR_MOUSE_Y_POS] = mouseY; + if (g_cine->getGameType() == Cine::GType_OS) { + if (!mouseY) { + 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]; + } + objIdx = getObjectUnderCursor(mouseX, mouseY); if (objIdx != -1) { |