diff options
author | Strangerke | 2014-02-28 07:39:24 +0100 |
---|---|---|
committer | Strangerke | 2014-02-28 07:39:24 +0100 |
commit | 7cd6b8b898699ec50ed1a8335239e283650c62ce (patch) | |
tree | 4fe109e8d04a57ecfe295b96ef7557f880efcf8a | |
parent | 120bd4c10e1560b1b5f11500ffb1cd41466c9f90 (diff) | |
download | scummvm-rg350-7cd6b8b898699ec50ed1a8335239e283650c62ce.tar.gz scummvm-rg350-7cd6b8b898699ec50ed1a8335239e283650c62ce.tar.bz2 scummvm-rg350-7cd6b8b898699ec50ed1a8335239e283650c62ce.zip |
BBVS: Fix uninitialized variables in Minigame
-rw-r--r-- | engines/bbvs/minigames/minigame.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/bbvs/minigames/minigame.cpp b/engines/bbvs/minigames/minigame.cpp index 888040f87a..6fed103e7a 100644 --- a/engines/bbvs/minigames/minigame.cpp +++ b/engines/bbvs/minigames/minigame.cpp @@ -29,6 +29,14 @@ Minigame::Minigame(BbvsEngine *vm) : _vm(vm), _spriteModule(0) { memset(_hiScoreTable, 0, sizeof(_hiScoreTable)); + _gameState = 0; + _gameTicks = 0; + _gameResult = 0; + _gameDone = false; + _fromMainGame = false; + _backgroundSpriteIndex = 0; + _titleScreenSpriteIndex = 0; + _numbersAnim = nullptr; } Minigame::~Minigame() { |