From 4389b70395c41f3f787c628602f5525a67033701 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Sun, 9 Aug 2009 10:28:11 +0000 Subject: Fix glitch when removing arrows from spell book in Elvira 1. svn-id: r43165 --- engines/agos/icons.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines') diff --git a/engines/agos/icons.cpp b/engines/agos/icons.cpp index f25aa967fc..d06e4ec6fc 100644 --- a/engines/agos/icons.cpp +++ b/engines/agos/icons.cpp @@ -985,8 +985,8 @@ void AGOSEngine_Elvira2::removeArrows(WindowBlock *window, uint num) { void AGOSEngine::removeArrows(WindowBlock *window, uint num) { if (num != 2) { - uint y = window->height * 4 + window->y - 19; - uint x = window->width + window->x; + uint y = window->y + window->height * 4 - 19; + uint x = (window->x + window->width) * 8; restoreBlock(x, y, x + 16, y + 38); } else { colorBlock(window, 240, 151, 16, 38); -- cgit v1.2.3