[Scummvm-git-logs] scummvm master -> 354a11880a4745da4afb114bd8748cf270ad7343
AndywinXp
noreply at scummvm.org
Sat Sep 14 08:00:35 UTC 2024
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:
354a11880a SCUMM: MI1 (SegaCD): Fix typo which broke text wrapping
Commit: 354a11880a4745da4afb114bd8748cf270ad7343
https://github.com/scummvm/scummvm/commit/354a11880a4745da4afb114bd8748cf270ad7343
Author: AndywinXp (andywinxp at gmail.com)
Date: 2024-09-14T10:00:30+02:00
Commit Message:
SCUMM: MI1 (SegaCD): Fix typo which broke text wrapping
Closes #15368:
"SCUMM: MONKEY1: Text regression in SegaCD cutscenes"
Shame on me :-) I should have tested the game for more than
the intro cutscene ;-)
Changed paths:
engines/scumm/string.cpp
diff --git a/engines/scumm/string.cpp b/engines/scumm/string.cpp
index 6a80a79e49f..65fc7c1c771 100644
--- a/engines/scumm/string.cpp
+++ b/engines/scumm/string.cpp
@@ -1077,7 +1077,7 @@ void ScummEngine::displayDialog() {
// If the string is centered and this is MI1 Sega CD, don't add linebreaks right away;
// we will take care of it in a different way just below ... :-)
if (_game.platform != Common::kPlatformSegaCD ||
- (_game.platform != Common::kPlatformSegaCD && !_charset->_center)) {
+ (_game.platform == Common::kPlatformSegaCD && !_charset->_center)) {
_charset->addLinebreaks(0, _charsetBuffer + _charsetBufPos, 0, maxWidth);
}
}
More information about the Scummvm-git-logs
mailing list