[Scummvm-cvs-logs] SF.net SVN: scummvm:[43165] scummvm/trunk/engines/agos/icons.cpp

Kirben at users.sourceforge.net Kirben at users.sourceforge.net
Sun Aug 9 12:28:11 CEST 2009


Revision: 43165
          http://scummvm.svn.sourceforge.net/scummvm/?rev=43165&view=rev
Author:   Kirben
Date:     2009-08-09 10:28:11 +0000 (Sun, 09 Aug 2009)

Log Message:
-----------
Fix glitch when removing arrows from spell book in Elvira 1.

Modified Paths:
--------------
    scummvm/trunk/engines/agos/icons.cpp

Modified: scummvm/trunk/engines/agos/icons.cpp
===================================================================
--- scummvm/trunk/engines/agos/icons.cpp	2009-08-09 07:17:18 UTC (rev 43164)
+++ scummvm/trunk/engines/agos/icons.cpp	2009-08-09 10:28:11 UTC (rev 43165)
@@ -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