diff options
author | Strangerke | 2014-01-24 22:44:40 +0100 |
---|---|---|
committer | Strangerke | 2014-01-24 22:44:40 +0100 |
commit | c691cd82a5ce3c7659b79acd0590ed18f37f5e01 (patch) | |
tree | e8283ce61235140500442635410da13b15c3f188 /engines/mortevielle | |
parent | 89640976c4be7defb49b346350a8dba8fd1ebdd6 (diff) | |
download | scummvm-rg350-c691cd82a5ce3c7659b79acd0590ed18f37f5e01.tar.gz scummvm-rg350-c691cd82a5ce3c7659b79acd0590ed18f37f5e01.tar.bz2 scummvm-rg350-c691cd82a5ce3c7659b79acd0590ed18f37f5e01.zip |
MORTEVIELLE: Initialize some uninitialized variables
Diffstat (limited to 'engines/mortevielle')
-rw-r--r-- | engines/mortevielle/mortevielle.cpp | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/engines/mortevielle/mortevielle.cpp b/engines/mortevielle/mortevielle.cpp index f198bcc718..492ce63b41 100644 --- a/engines/mortevielle/mortevielle.cpp +++ b/engines/mortevielle/mortevielle.cpp @@ -106,6 +106,35 @@ MortevielleEngine::MortevielleEngine(OSystem *system, const MortevielleGameDescr _maff = 0; _crep = 0; + + _minute = 0; + _curSearchObjId = 0; + _controlMenu = 0; + _startTime = 0; + _endTime = 0; + _roomDoorId = OWN_ROOM; + _openObjCount = 0; + _takeObjCount = 0; + _num = 0; + _searchCount = 0; + _introSpeechPlayed = false; + _inGameHourDuration = 0; + _x = 0; + _y = 0; + _currentHourCount = 0; + _currentTime = 0; + _cfiecBuffer = nullptr; + _cfiecBufferSize = 0; + for (int i = 0; i < 601; i++) { + _dialogHintArray[i]._hintId = 0; + _dialogHintArray[i]._point = 0; + } + _currMenu = OPCODE_NONE; + _currAction = OPCODE_NONE; + _addFix = 0; + _savedBitIndex = 0; + _numpal = 0; + _key = 0; } MortevielleEngine::~MortevielleEngine() { |