aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v1.cpp
diff options
context:
space:
mode:
authorJames Brown2002-11-03 15:56:52 +0000
committerJames Brown2002-11-03 15:56:52 +0000
commit9b390fb9c1ec6d7efcee7d05569135bb5c8f54ab (patch)
treeb702f282460837f4d2a79b6525e573e2ead5c780 /scumm/script_v1.cpp
parent512f80552eefa34c56f61fbb6207108a6802ec62 (diff)
downloadscummvm-rg350-9b390fb9c1ec6d7efcee7d05569135bb5c8f54ab.tar.gz
scummvm-rg350-9b390fb9c1ec6d7efcee7d05569135bb5c8f54ab.tar.bz2
scummvm-rg350-9b390fb9c1ec6d7efcee7d05569135bb5c8f54ab.zip
Fix text positioning for the grail diary in Indy3
svn-id: r5394
Diffstat (limited to 'scumm/script_v1.cpp')
-rw-r--r--scumm/script_v1.cpp6
1 files changed, 3 insertions, 3 deletions
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) {