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

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Mon Sep 28 23:58:54 CEST 2009


Revision: 44450
          http://scummvm.svn.sourceforge.net/scummvm/?rev=44450&view=rev
Author:   lordhoto
Date:     2009-09-28 21:58:48 +0000 (Mon, 28 Sep 2009)

Log Message:
-----------
Fix for bug #2868581 "KYRA1: Invisible Brandon".

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-09-28 20:21:09 UTC (rev 44449)
+++ scummvm/trunk/engines/kyra/saveload_lok.cpp	2009-09-28 21:58:48 UTC (rev 44450)
@@ -208,6 +208,12 @@
 	_brandonPosX = _currentCharacter->x2 = _currentCharacter->x1;
 	_brandonPosY = _currentCharacter->y2 = _currentCharacter->y1;
 
+	// We need to reset the "_noDrawShapesFlag" flag of Animator_LoK
+	// over here. Else in certain cases restoring an savegame might
+	// result in no shapes being drawn at all. See bug report
+	// #2868581 "KYRA1: Invisible Brandon" for an example of this.
+	_animator->_noDrawShapesFlag = 0;
+
 	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