aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche/lucerna.cpp
diff options
context:
space:
mode:
authorStrangerke2013-09-18 08:07:20 +0200
committerStrangerke2013-09-18 08:07:20 +0200
commitedc147774100ffcdfb6aeaa896151e75790564ce (patch)
tree1ce64d83176f4179d85fa65d56382b763ab6e468 /engines/avalanche/lucerna.cpp
parent9ba81f6097cf02a5e38c797746d4e8a5d46e8a6c (diff)
downloadscummvm-rg350-edc147774100ffcdfb6aeaa896151e75790564ce.tar.gz
scummvm-rg350-edc147774100ffcdfb6aeaa896151e75790564ce.tar.bz2
scummvm-rg350-edc147774100ffcdfb6aeaa896151e75790564ce.zip
AVALANCHE: Remove index hack used for mouse pointer (Pascal to C conversion)
Diffstat (limited to 'engines/avalanche/lucerna.cpp')
-rw-r--r--engines/avalanche/lucerna.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/avalanche/lucerna.cpp b/engines/avalanche/lucerna.cpp
index d5f48dba34..ae6e8b71db 100644
--- a/engines/avalanche/lucerna.cpp
+++ b/engines/avalanche/lucerna.cpp
@@ -1075,17 +1075,17 @@ void Lucerna::checkClick() {
_vm->_gyro->after_the_scroll = false;*/
if ((0 <= cursorPos.y) && (cursorPos.y <= 21))
- _vm->_gyro->newMouse(1); // up arrow
+ _vm->_gyro->newMouse(0); // up arrow
else if ((317 <= cursorPos.y) && (cursorPos.y <= 339))
- _vm->_gyro->newMouse(8); //I-beam
+ _vm->_gyro->newMouse(7); //I-beam
else if ((340 <= cursorPos.y) && (cursorPos.y <= 399))
- _vm->_gyro->newMouse(2); // screwdriver
+ _vm->_gyro->newMouse(1); // screwdriver
else if (!_vm->_menu->isActive()) { // Dropdown can handle its own pointers.
if (_holdLeftMouse) {
- _vm->_gyro->newMouse(7); // Mark's crosshairs
+ _vm->_gyro->newMouse(6); // Mark's crosshairs
guideAvvy(cursorPos); // Normally, if you click on the picture, you're guiding Avvy around.
} else
- _vm->_gyro->newMouse(4); // fletch
+ _vm->_gyro->newMouse(3); // fletch
}
if (_holdLeftMouse) {