From c2812140274d1c37e57f732f0a30e8a39d30e2ca Mon Sep 17 00:00:00 2001 From: Florian Kagerer Date: Sun, 24 May 2009 00:53:22 +0000 Subject: LOL: fix valgrind warning svn-id: r40847 --- engines/kyra/lol.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/engines/kyra/lol.cpp b/engines/kyra/lol.cpp index e36ba15350..68b58b6a73 100644 --- a/engines/kyra/lol.cpp +++ b/engines/kyra/lol.cpp @@ -123,11 +123,11 @@ LoLEngine::LoLEngine(OSystem *system, const GameFlags &flags) : KyraEngine_v1(sy _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 @@ LoLEngine::LoLEngine(OSystem *system, const GameFlags &flags) : KyraEngine_v1(sy _floatingCursorsEnabled = false; memset(_lvlTempData, 0, sizeof(_lvlTempData)); - _gameFlags[26] = 0; _mapOverlay = 0; _automapShapes = 0; -- cgit v1.2.3