[Scummvm-git-logs] scummvm master -> cb6b39ed77705b719d4f98e65b2254a0bbb1ffef
dreammaster
dreammaster at scummvm.org
Sun May 6 23:08:08 CEST 2018
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:
cb6b39ed77 XEEN: Fix display of Auto Notes
Commit: cb6b39ed77705b719d4f98e65b2254a0bbb1ffef
https://github.com/scummvm/scummvm/commit/cb6b39ed77705b719d4f98e65b2254a0bbb1ffef
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2018-05-06T17:08:00-04:00
Commit Message:
XEEN: Fix display of Auto Notes
Changed paths:
engines/xeen/dialogs/dialogs_quests.cpp
diff --git a/engines/xeen/dialogs/dialogs_quests.cpp b/engines/xeen/dialogs/dialogs_quests.cpp
index ebf15e9..b27bdb6 100644
--- a/engines/xeen/dialogs/dialogs_quests.cpp
+++ b/engines/xeen/dialogs/dialogs_quests.cpp
@@ -157,13 +157,13 @@ void Quests::execute() {
break;
case AUTO_NOTES: {
- count = _vm->getGameID() == GType_Swords ? 49 : MAX_DIALOG_LINES;
+ int max = _vm->getGameID() == GType_Swords ? 49 : MAX_DIALOG_LINES;
for (int idx = 0; idx < count; ++idx)
lines[idx] = "";
count = 0;
headerShown = false;
- for (int idx = 0; idx < count; ++idx) {
+ for (int idx = 0; idx < max; ++idx) {
if (party._worldFlags[idx]) {
if (!count && !headerShown && (_vm->getGameID() == GType_Swords || idx < 72)) {
lines[count++] = title1;
More information about the Scummvm-git-logs
mailing list