From 346486ce46a968e79803c5aaaf0a5e07c3ce26ab Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Thu, 6 Apr 2006 01:37:29 +0000 Subject: Fix inventory hitareas in FF svn-id: r21636 --- engines/simon/icons.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/simon') 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; -- cgit v1.2.3