diff options
author | Travis Howell | 2009-08-09 10:28:11 +0000 |
---|---|---|
committer | Travis Howell | 2009-08-09 10:28:11 +0000 |
commit | 4389b70395c41f3f787c628602f5525a67033701 (patch) | |
tree | 21e2fd241f494dc0795cddad6657297032e84dd6 /engines | |
parent | c14ee974e764d86a649591a13504db22cc72ecc0 (diff) | |
download | scummvm-rg350-4389b70395c41f3f787c628602f5525a67033701.tar.gz scummvm-rg350-4389b70395c41f3f787c628602f5525a67033701.tar.bz2 scummvm-rg350-4389b70395c41f3f787c628602f5525a67033701.zip |
Fix glitch when removing arrows from spell book in Elvira 1.
svn-id: r43165
Diffstat (limited to 'engines')
-rw-r--r-- | engines/agos/icons.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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); |