[Scummvm-cvs-logs] SF.net SVN: scummvm:[43166] scummvm/branches/branch-1-0-0/engines/agos/ icons.cpp
Kirben at users.sourceforge.net
Kirben at users.sourceforge.net
Sun Aug 9 12:29:01 CEST 2009
Revision: 43166
http://scummvm.svn.sourceforge.net/scummvm/?rev=43166&view=rev
Author: Kirben
Date: 2009-08-09 10:29:01 +0000 (Sun, 09 Aug 2009)
Log Message:
-----------
Backport fix for glitch when removing arrows from spell book in Elvira 1.
Modified Paths:
--------------
scummvm/branches/branch-1-0-0/engines/agos/icons.cpp
Modified: scummvm/branches/branch-1-0-0/engines/agos/icons.cpp
===================================================================
--- scummvm/branches/branch-1-0-0/engines/agos/icons.cpp 2009-08-09 10:28:11 UTC (rev 43165)
+++ scummvm/branches/branch-1-0-0/engines/agos/icons.cpp 2009-08-09 10:29:01 UTC (rev 43166)
@@ -985,8 +985,8 @@
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);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list