aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/lol.cpp
diff options
context:
space:
mode:
authorFlorian Kagerer2009-05-24 00:53:22 +0000
committerFlorian Kagerer2009-05-24 00:53:22 +0000
commitc2812140274d1c37e57f732f0a30e8a39d30e2ca (patch)
tree7a423657f145f69eb4dcd54c2c8b01657841e904 /engines/kyra/lol.cpp
parentbef88f3b617cd861e7ae76d4fb4964a9701d8f9b (diff)
downloadscummvm-rg350-c2812140274d1c37e57f732f0a30e8a39d30e2ca.tar.gz
scummvm-rg350-c2812140274d1c37e57f732f0a30e8a39d30e2ca.tar.bz2
scummvm-rg350-c2812140274d1c37e57f732f0a30e8a39d30e2ca.zip
LOL: fix valgrind warning
svn-id: r40847
Diffstat (limited to 'engines/kyra/lol.cpp')
-rw-r--r--engines/kyra/lol.cpp3
1 files changed, 1 insertions, 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;