diff options
author | Eugene Sandulenko | 2013-10-17 14:08:37 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2013-10-17 14:08:37 +0300 |
commit | ae17206ce76c66738d0ff09c4d85d689d009fb20 (patch) | |
tree | 19bceababfa34604f947d383fdac3ed889e51284 /engines | |
parent | 74172a7449f957cc7bc29741676a32b03c5eb756 (diff) | |
download | scummvm-rg350-ae17206ce76c66738d0ff09c4d85d689d009fb20.tar.gz scummvm-rg350-ae17206ce76c66738d0ff09c4d85d689d009fb20.tar.bz2 scummvm-rg350-ae17206ce76c66738d0ff09c4d85d689d009fb20.zip |
DRACI: Fix uninitalized variables. CID 1003405
Diffstat (limited to 'engines')
-rw-r--r-- | engines/draci/game.cpp | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/engines/draci/game.cpp b/engines/draci/game.cpp index 8fb6f4b90f..271eb1e02e 100644 --- a/engines/draci/game.cpp +++ b/engines/draci/game.cpp @@ -52,6 +52,36 @@ enum { Game::Game(DraciEngine *vm) : _vm(vm), _walkingState(vm) { uint i; + _dialogueLinesNum = 0; + _blockNum = 0; + + for (i = 0; i < kDialogueLines; i++) + _dialogueAnims[0] = 0; + + _loopStatus = kStatusOrdinary; + _loopSubstatus = kOuterLoop; + _shouldQuit = 0; + _shouldExitLoop = 0; + _isReloaded = 0; + _speechTick = 0; + _speechDuration = 0; + _objUnderCursor = 0; + _animUnderCursor = 0; + _markedAnimationIndex = 0; + _scheduledPalette = 0; + _fadePhases = 0; + _fadePhase = 0; + _fadeTick = 0; + _mouseChangeTick = 0; + _enableQuickHero = 0; + _wantQuickHero = 0; + _enableSpeedText = 0; + _titleAnim = 0; + _inventoryAnim = 0; + _walkingMapOverlay = 0; + _walkingShortestPathOverlay = 0; + _walkingObliquePathOverlay = 0; + BArchive *initArchive = _vm->_initArchive; const BAFile *file; |