[Scummvm-cvs-logs] scummvm master -> fa78f38ca7fa9305aca4c8bcb274fc4067423273
Strangerke
Strangerke at scummvm.org
Sun Jan 26 21:05:45 CET 2014
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
fa78f38ca7 MORTEVIELLE: Fix some uninitialized variables
Commit: fa78f38ca7fa9305aca4c8bcb274fc4067423273
https://github.com/scummvm/scummvm/commit/fa78f38ca7fa9305aca4c8bcb274fc4067423273
Author: Strangerke (strangerke at scummvm.org)
Date: 2014-01-26T12:04:31-08:00
Commit Message:
MORTEVIELLE: Fix some uninitialized variables
Changed paths:
engines/mortevielle/mortevielle.cpp
diff --git a/engines/mortevielle/mortevielle.cpp b/engines/mortevielle/mortevielle.cpp
index 492ce63..49876f1 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() {
More information about the Scummvm-git-logs
mailing list