From b75b5cb6b6aa096cc014ef78c000600e9158d12f Mon Sep 17 00:00:00 2001 From: BLooperZ Date: Mon, 19 Aug 2019 21:30:38 +0300 Subject: SCUMM: consider code 2 in reversal --- engines/scumm/string.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines') 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) { -- cgit v1.2.3