From bb6cd4612dd25d93c6b7d928b8aec5537dac9480 Mon Sep 17 00:00:00 2001 From: Walter van Niftrik Date: Mon, 11 Apr 2016 21:23:55 +0200 Subject: ADL: Fix bug in hires6 printString --- engines/adl/hires6.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/adl/hires6.cpp') diff --git a/engines/adl/hires6.cpp b/engines/adl/hires6.cpp index 5bc7711d13..4ee5663002 100644 --- a/engines/adl/hires6.cpp +++ b/engines/adl/hires6.cpp @@ -276,7 +276,7 @@ void HiRes6Engine::printString(const Common::String &str) { if (str.size() != 1 || APPLECHAR(str[0]) != APPLECHAR(' ')) return AdlEngine_v2::printString(s); setVar(2, APPLECHAR(' ')); - } else if (getVar(26) == 0xff) { + } else if (getVar(26) != 0xff) { setVar(2, 'P'); } else { setVar(26, _state.room); -- cgit v1.2.3