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

athrxx at users.sourceforge.net athrxx at users.sourceforge.net
Sun May 24 02:53:22 CEST 2009


Revision: 40847
          http://scummvm.svn.sourceforge.net/scummvm/?rev=40847&view=rev
Author:   athrxx
Date:     2009-05-24 00:53:22 +0000 (Sun, 24 May 2009)

Log Message:
-----------
LOL: fix valgrind warning

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

Modified: scummvm/trunk/engines/kyra/lol.cpp
===================================================================
--- scummvm/trunk/engines/kyra/lol.cpp	2009-05-24 00:16:47 UTC (rev 40846)
+++ scummvm/trunk/engines/kyra/lol.cpp	2009-05-24 00:53:22 UTC (rev 40847)
@@ -123,11 +123,11 @@
 	_lastButtonShape = 0;
 	_buttonPressTimer = 0;
 	_selectedCharacter = 0;
-	_gameFlags[36] = 0;
 	_suspendScript = _sceneUpdateRequired = false;
 	_scriptDirection = 0;
 	_currentDirection = 0;
 	_currentBlock = 0;
+	_compassDirection = _compassDirectionIndex = -1;
 	memset(_visibleBlockIndex, 0, sizeof(_visibleBlockIndex));
 
 	_smoothScrollModeNormal = 1;
@@ -226,7 +226,6 @@
 	_floatingCursorsEnabled = false;
 
 	memset(_lvlTempData, 0, sizeof(_lvlTempData));
-	_gameFlags[26] = 0;
 
 	_mapOverlay = 0;
 	_automapShapes = 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