[Scummvm-cvs-logs] SF.net SVN: scummvm: [26914] scummvm/trunk/engines/kyra/script_v1.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Tue May 22 15:33:42 CEST 2007


Revision: 26914
          http://scummvm.svn.sourceforge.net/scummvm/?rev=26914&view=rev
Author:   lordhoto
Date:     2007-05-22 06:33:41 -0700 (Tue, 22 May 2007)

Log Message:
-----------
Fixes graphics glitch introduced while cleaning up.

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/script_v1.cpp

Modified: scummvm/trunk/engines/kyra/script_v1.cpp
===================================================================
--- scummvm/trunk/engines/kyra/script_v1.cpp	2007-05-22 13:11:06 UTC (rev 26913)
+++ scummvm/trunk/engines/kyra/script_v1.cpp	2007-05-22 13:33:41 UTC (rev 26914)
@@ -1335,12 +1335,12 @@
 		flags = 1;
 
 	if (onlyHidPage) {
-		_screen->drawShape(2, _shapes[220+item], x, y, 0, flags);
+		_screen->drawShape(2, _shapes[216+item], x, y, 0, flags);
 	} else {
 		_screen->hideMouse();
 		_animator->restoreAllObjectBackgrounds();
-		_screen->drawShape(2, _shapes[220+item], x, y, 0, flags);
-		_screen->drawShape(0, _shapes[220+item], x, y, 0, flags);
+		_screen->drawShape(2, _shapes[216+item], x, y, 0, flags);
+		_screen->drawShape(0, _shapes[216+item], x, y, 0, flags);
 		_animator->flagAllObjectsForBkgdChange();
 		_animator->preserveAnyChangedBackgrounds();
 		_animator->flagAllObjectsForRefresh();


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