aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra
diff options
context:
space:
mode:
authorFlorian Kagerer2009-06-15 23:22:31 +0000
committerFlorian Kagerer2009-06-15 23:22:31 +0000
commit475c967d0da0bbf281bad393a5395450af4627a0 (patch)
tree4aafcfdafffd8cd5f71c7473c3d3cb353694916c /engines/kyra
parent434be5c65a7c33e9cfcefdc644b28c607c87fa94 (diff)
downloadscummvm-rg350-475c967d0da0bbf281bad393a5395450af4627a0.tar.gz
scummvm-rg350-475c967d0da0bbf281bad393a5395450af4627a0.tar.bz2
scummvm-rg350-475c967d0da0bbf281bad393a5395450af4627a0.zip
KYRA: fixed regression (broken menu slide bars in HOF/MR)
svn-id: r41576
Diffstat (limited to 'engines/kyra')
-rw-r--r--engines/kyra/gui_v2.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/kyra/gui_v2.cpp b/engines/kyra/gui_v2.cpp
index 5a4648c372..ec2b2d9aac 100644
--- a/engines/kyra/gui_v2.cpp
+++ b/engines/kyra/gui_v2.cpp
@@ -158,8 +158,9 @@ int GUI_v2::processButtonList(Button *buttonList, uint16 inputFlag, int8 mouseWh
}
}
- int mouseX = _vm->_mouseX;
- int mouseY = _vm->_mouseY;
+ Common::Point p = _vm->getMousePos();
+ int mouseX = _vm->_mouseX = p.x;
+ int mouseY = _vm->_mouseY = p.y;
uint16 flags = 0;