aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/gui_lol.cpp
diff options
context:
space:
mode:
authorFlorian Kagerer2009-05-18 01:39:58 +0000
committerFlorian Kagerer2009-05-18 01:39:58 +0000
commit80ed10fc7244478aa98f9fd86e07f548ae2532e8 (patch)
tree57fb21b8aa82b04435432504e4db6387f71dc7e0 /engines/kyra/gui_lol.cpp
parent50805cb7ea26d2d2220d1a61d943b1ea7086048c (diff)
downloadscummvm-rg350-80ed10fc7244478aa98f9fd86e07f548ae2532e8.tar.gz
scummvm-rg350-80ed10fc7244478aa98f9fd86e07f548ae2532e8.tar.bz2
scummvm-rg350-80ed10fc7244478aa98f9fd86e07f548ae2532e8.zip
LOL: - implemented fog spell
svn-id: r40673
Diffstat (limited to 'engines/kyra/gui_lol.cpp')
-rw-r--r--engines/kyra/gui_lol.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/kyra/gui_lol.cpp b/engines/kyra/gui_lol.cpp
index 673b2832a7..96cf88ffb4 100644
--- a/engines/kyra/gui_lol.cpp
+++ b/engines/kyra/gui_lol.cpp
@@ -1308,7 +1308,7 @@ int LoLEngine::clickedScenePickupItem(Button *button) {
int p = 0;
for (int i = 0; i < len; i++) {
- p = _screen->getPagePixel(_screen->_curPage, _mouseX + checkX[i], _mouseY + checkY[i]);
+ p = _screen->getPagePixel(_screen->_curPage, CLIP(_mouseX + checkX[i], 0, 320), CLIP(_mouseY + checkY[i], 0, 200));
if (p)
break;
}
@@ -2115,7 +2115,7 @@ int GUI_LoL::processButtonList(Button *buttonList, uint16 inputFlag, int8 mouseW
buttonList->flags2 |= flags;
if (buttonList->buttonCallback) {
- _vm->removeInputTop();
+ //_vm->removeInputTop();
if ((*buttonList->buttonCallback.get())(buttonList))
break;
}