[Scummvm-cvs-logs] scummvm master -> 4b1c0b29ea3e6ab48b5a2fa8101a3a53c8e737ee
Strangerke
Strangerke at scummvm.org
Sun Aug 11 00:04:24 CEST 2013
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:
4b1c0b29ea MORTEVIELLE: Add an initialization of _charAnswerCount in initMaxAnswer()
Commit: 4b1c0b29ea3e6ab48b5a2fa8101a3a53c8e737ee
https://github.com/scummvm/scummvm/commit/4b1c0b29ea3e6ab48b5a2fa8101a3a53c8e737ee
Author: Strangerke (strangerke at scummvm.org)
Date: 2013-08-10T15:02:57-07:00
Commit Message:
MORTEVIELLE: Add an initialization of _charAnswerCount in initMaxAnswer()
Changed paths:
engines/mortevielle/utils.cpp
diff --git a/engines/mortevielle/utils.cpp b/engines/mortevielle/utils.cpp
index 5667e6e..603dc6e 100644
--- a/engines/mortevielle/utils.cpp
+++ b/engines/mortevielle/utils.cpp
@@ -2877,8 +2877,10 @@ void MortevielleEngine::setPresenceFlags(int roomId) {
void MortevielleEngine::initMaxAnswer() {
static const byte maxAnswer[9] = { 0, 4, 5, 6, 7, 5, 6, 5, 8 };
- for (int idx = 0; idx < 9; ++idx)
+ for (int idx = 0; idx < 9; ++idx) {
_charAnswerMax[idx] = maxAnswer[idx];
+ _charAnswerCount[idx] = 0;
+ }
}
/**
More information about the Scummvm-git-logs
mailing list