diff options
author | Florian Kagerer | 2009-05-18 01:39:58 +0000 |
---|---|---|
committer | Florian Kagerer | 2009-05-18 01:39:58 +0000 |
commit | 80ed10fc7244478aa98f9fd86e07f548ae2532e8 (patch) | |
tree | 57fb21b8aa82b04435432504e4db6387f71dc7e0 /engines/kyra/gui_lol.cpp | |
parent | 50805cb7ea26d2d2220d1a61d943b1ea7086048c (diff) | |
download | scummvm-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.cpp | 4 |
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; } |