From bad36eaa614c0e60ba501e0207c607a0e54756c0 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Wed, 30 Apr 2008 04:38:29 +0000 Subject: The Dig (Second release) used similar charset code to COMI. This could cause regressions, if there are differences between the two releases of The Dig. svn-id: r31784 --- engines/scumm/string.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'engines/scumm/string.cpp') diff --git a/engines/scumm/string.cpp b/engines/scumm/string.cpp index 34ec494850..dfaf0dc6e6 100644 --- a/engines/scumm/string.cpp +++ b/engines/scumm/string.cpp @@ -679,7 +679,12 @@ void ScummEngine::CHARSET_1() { } #ifndef DISABLE_SCUMM_7_8 -void ScummEngine_v8::CHARSET_1() { +void ScummEngine_v7::CHARSET_1() { + if (_game.id == GID_FT) { + ScummEngine::CHARSET_1(); + return; + } + byte subtitleBuffer[2048]; byte *subtitleLine = subtitleBuffer; Common::Point subtitlePos; @@ -830,7 +835,7 @@ void ScummEngine_v8::CHARSET_1() { } } } - _haveMsg = 2; + _haveMsg = (_game.version == 8) ? 2 : 1; _keepText = false; _string[0] = saveStr; } -- cgit v1.2.3