diff options
-rw-r--r-- | string.cpp | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/string.cpp b/string.cpp index 192c034aab..679bcf68da 100644 --- a/string.cpp +++ b/string.cpp @@ -328,6 +328,14 @@ void Scumm::CHARSET_1() charset._disableOffsX = charset._unk12 = !_keepText; + bool has_speech = false; + for (byte *tmp = buffer; *tmp; ++tmp) { + if (*tmp == 10) { + has_speech = true; + break; + } + } + do { c = *buffer++; if (c == 0) { @@ -365,11 +373,11 @@ void Scumm::CHARSET_1() charset.printCharOld(c); else if (!(_features & GF_AFTER_V6)) { // if (!_vars[VAR_V5_CHARFLAG]) { /* FIXME */ - if (!(a && _noSubtitles)) + if (!(has_speech && _noSubtitles)) charset.printChar(c); // } } else { - if (!(a && _noSubtitles)) + if (!(has_speech && _noSubtitles)) charset.printChar(c); } |