aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorStrangerke2014-01-26 21:04:31 +0100
committerStrangerke2014-01-26 21:04:31 +0100
commitfa78f38ca7fa9305aca4c8bcb274fc4067423273 (patch)
tree7fbba472516572e24bf10c26590847165ac92b17 /engines
parent90bbbffef717003b6a7c3f7aa0d917d148edbce1 (diff)
downloadscummvm-rg350-fa78f38ca7fa9305aca4c8bcb274fc4067423273.tar.gz
scummvm-rg350-fa78f38ca7fa9305aca4c8bcb274fc4067423273.tar.bz2
scummvm-rg350-fa78f38ca7fa9305aca4c8bcb274fc4067423273.zip
MORTEVIELLE: Fix some uninitialized variables
Diffstat (limited to 'engines')
-rw-r--r--engines/mortevielle/mortevielle.cpp14
1 files changed, 12 insertions, 2 deletions
diff --git a/engines/mortevielle/mortevielle.cpp b/engines/mortevielle/mortevielle.cpp
index 492ce63b41..49876f1bf2 100644
--- a/engines/mortevielle/mortevielle.cpp
+++ b/engines/mortevielle/mortevielle.cpp
@@ -131,10 +131,20 @@ MortevielleEngine::MortevielleEngine(OSystem *system, const MortevielleGameDescr
}
_currMenu = OPCODE_NONE;
_currAction = OPCODE_NONE;
+ _menuOpcode = OPCODE_NONE;
_addFix = 0;
- _savedBitIndex = 0;
- _numpal = 0;
+ _currBitIndex = 0;
+ _currDay = 0;
+ _currHour = 10;
+ _currHalfHour = 0;
+ _hour = 10;
_key = 0;
+ _manorDistance = 0;
+ _numpal = 0;
+ _savedBitIndex = 0;
+ _endGame = false;
+ _loseGame = false;
+ _txxFileFl = false;
}
MortevielleEngine::~MortevielleEngine() {