aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/scumm/string.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/string.cpp b/engines/scumm/string.cpp
index d7f8a7506e..04c355bc12 100644
--- a/engines/scumm/string.cpp
+++ b/engines/scumm/string.cpp
@@ -675,7 +675,7 @@ void ScummEngine::CHARSET_1() {
if (*current == -1 || *current == -2) {
current++;
- if (*current == 3) {
+ if (*current == 3 || *current == 2) {
break;
}
if (*current == 0x0A || *current == 0x0C) {
@@ -1006,7 +1006,7 @@ void ScummEngine::drawString(int a, const byte *msg) {
pos = -1;
if (*current == -1 || *current == -2) {
current++;
- if (*current == 3) {
+ if (*current == 3 || *current == 2) {
break;
}
if (*current == 0x0A || *current == 0x0C) {