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

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Tue Aug 11 20:17:12 CEST 2009


Revision: 43284
          http://scummvm.svn.sourceforge.net/scummvm/?rev=43284&view=rev
Author:   lordhoto
Date:     2009-08-11 18:17:07 +0000 (Tue, 11 Aug 2009)

Log Message:
-----------
Fix for bug #2835715 "KYRA: GFX glitch in Amiga version at the bridge", which was caused by featuring restoring of Brandon's position on save load, which the original did not support.

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

Modified: scummvm/trunk/engines/kyra/saveload_lok.cpp
===================================================================
--- scummvm/trunk/engines/kyra/saveload_lok.cpp	2009-08-11 18:16:21 UTC (rev 43283)
+++ scummvm/trunk/engines/kyra/saveload_lok.cpp	2009-08-11 18:17:07 UTC (rev 43284)
@@ -184,8 +184,16 @@
 	setHandItem(_itemInHand);
 	_animator->setBrandonAnimSeqSize(3, 48);
 	redrawInventory(0);
-	_brandonPosX = brandonX;
-	_brandonPosY = brandonY;
+	
+	_brandonPosX = _brandonPosY = -1;
+	
+	// Unlike the original we did restore Brandon's position in the scene screen on load.
+	// This appereantly caused graphics gliches in some scenes. For example bug #2835715
+	// ("KYRA: GFX glitch in Amiga version at the bridge") is caused by this feature.
+	// Thus we disable that for now.
+	//_brandonPosX = brandonX;
+	//_brandonPosY = brandonY;
+
 	enterNewScene(_currentCharacter->sceneId, _currentCharacter->facing, 0, 0, 1);
 
 	_animator->animRefreshNPC(0);


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