aboutsummaryrefslogtreecommitdiff
path: root/engines/simon
diff options
context:
space:
mode:
authorTravis Howell2006-04-06 01:37:29 +0000
committerTravis Howell2006-04-06 01:37:29 +0000
commit346486ce46a968e79803c5aaaf0a5e07c3ce26ab (patch)
tree3ad36ea3a1c91451a01c916cb73595e86fbdc9c8 /engines/simon
parentd967db266cb237457d5542007047fc5b61f3773b (diff)
downloadscummvm-rg350-346486ce46a968e79803c5aaaf0a5e07c3ce26ab.tar.gz
scummvm-rg350-346486ce46a968e79803c5aaaf0a5e07c3ce26ab.tar.bz2
scummvm-rg350-346486ce46a968e79803c5aaaf0a5e07c3ce26ab.zip
Fix inventory hitareas in FF
svn-id: r21636
Diffstat (limited to 'engines/simon')
-rw-r--r--engines/simon/icons.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/simon/icons.cpp b/engines/simon/icons.cpp
index 02e1af048c..3220b72b8a 100644
--- a/engines/simon/icons.cpp
+++ b/engines/simon/icons.cpp
@@ -506,8 +506,8 @@ uint SimonEngine::setupIconHitArea(WindowBlock *window, uint num, uint x, uint y
ha = findEmptyHitArea();
if (getGameType() == GType_FF) {
- ha->x = x + window->x;
- ha->y = y + window->y;
+ ha->x = x;
+ ha->y = y;
ha->item_ptr = item_ptr;
ha->width = 45;
ha->height = 44;