diff options
author | James Brown | 2002-11-05 16:46:41 +0000 |
---|---|---|
committer | James Brown | 2002-11-05 16:46:41 +0000 |
commit | c0e5e81a0c47f670858bc3a680390d7541facff5 (patch) | |
tree | 3dd8566e443ffc7a7dd5cb678cb0a0e3a431d8a8 /scumm | |
parent | 3801be6bceb5cb8b9fa9d5680551c9ae2285e079 (diff) | |
download | scummvm-rg350-c0e5e81a0c47f670858bc3a680390d7541facff5.tar.gz scummvm-rg350-c0e5e81a0c47f670858bc3a680390d7541facff5.tar.bz2 scummvm-rg350-c0e5e81a0c47f670858bc3a680390d7541facff5.zip |
Change the grail diary fix to be Indy3 specific. Fixes Monkey1VGA text positioning.
*sigh* :)
svn-id: r5422
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/script_v1.cpp | 9 |
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; |