[Scummvm-cvs-logs] CVS: scummvm/scumm script_v1.cpp,1.14,1.15

James Brown ender at users.sourceforge.net
Tue Nov 5 08:47:08 CET 2002


Update of /cvsroot/scummvm/scummvm/scumm
In directory usw-pr-cvs1:/tmp/cvs-serv13048/scumm

Modified Files:
	script_v1.cpp 
Log Message:
Change the grail diary fix to be Indy3 specific. Fixes Monkey1VGA text positioning.
*sigh* :)



Index: script_v1.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v1.cpp,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- script_v1.cpp	4 Nov 2002 08:09:01 -0000	1.14
+++ script_v1.cpp	5 Nov 2002 16:46:41 -0000	1.15
@@ -2758,9 +2758,12 @@
 			}
 
 			// 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;





More information about the Scummvm-git-logs mailing list