From 9b390fb9c1ec6d7efcee7d05569135bb5c8f54ab Mon Sep 17 00:00:00 2001 From: James Brown Date: Sun, 3 Nov 2002 15:56:52 +0000 Subject: Fix text positioning for the grail diary in Indy3 svn-id: r5394 --- scumm/script_v1.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scumm/script_v1.cpp') diff --git a/scumm/script_v1.cpp b/scumm/script_v1.cpp index 5170c9b276..54ba05e9aa 100644 --- a/scumm/script_v1.cpp +++ b/scumm/script_v1.cpp @@ -1894,7 +1894,6 @@ void Scumm::o5_roomOps() } _opcode = fetchScriptByte(); - switch (_opcode & 0x1F) { case 1: /* room scroll */ if (!(_features & GF_OLD256)) { @@ -2240,7 +2239,7 @@ void Scumm::o5_soundKludge() int i; if (_features & GF_SMALL_HEADER) // Is dummy function in - return; // SCUMM V3 + return; // SCUMM V3 for (i = 0; i < 15; i++) items[i] = 0; @@ -2693,7 +2692,8 @@ void Scumm::decodeParseString() textSlot = 0; } - setStringVars(textSlot); + if (_gameId != GID_INDY3_256) // Indy3 seems to need to keep the string positions. + setStringVars(textSlot); // See, for example, the text positioning in the grail diary while ((_opcode = fetchScriptByte()) != 0xFF) { switch (_opcode & 0xF) { -- cgit v1.2.3