aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorBLooperZ2019-08-19 21:30:38 +0300
committerEugene Sandulenko2020-01-01 00:31:21 +0100
commitb75b5cb6b6aa096cc014ef78c000600e9158d12f (patch)
treea23dac8d951bcfe05d7e5cab64532624a406b54a /engines/scumm
parent390a0abfed40532f06f38dea697697dad85de3f8 (diff)
downloadscummvm-rg350-b75b5cb6b6aa096cc014ef78c000600e9158d12f.tar.gz
scummvm-rg350-b75b5cb6b6aa096cc014ef78c000600e9158d12f.tar.bz2
scummvm-rg350-b75b5cb6b6aa096cc014ef78c000600e9158d12f.zip
SCUMM: consider code 2 in reversal
Diffstat (limited to 'engines/scumm')
-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) {