aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/script_v1.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/scumm/script_v1.cpp b/scumm/script_v1.cpp
index 170b06d05d..f0e739304d 100644
--- a/scumm/script_v1.cpp
+++ b/scumm/script_v1.cpp
@@ -2758,9 +2758,12 @@ void Scumm::decodeParseString()
}
// FIXME: Store positions, this is needed for Indy3 (Grail Diary)..
- // I'm not sure whether having this as a generic case will break anything
- _string[textSlot].t_xpos = _string[textSlot].xpos;
- _string[textSlot].t_ypos = _string[textSlot].ypos;
+ // I don't believe this is the correct fix, may cause other problems
+ // later in the game.
+ if (_gameId == GID_INDY3_256) {
+ _string[textSlot].t_xpos = _string[textSlot].xpos;
+ _string[textSlot].t_ypos = _string[textSlot].ypos;
+ }
_scriptPointer = _messagePtr;
return;