[Scummvm-cvs-logs] CVS: scummvm/scumm script_v5.cpp,1.136,1.136.2.1

James Brown ender at users.sourceforge.net
Wed Jul 30 01:15:20 CEST 2003


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv22273/scumm

Modified Files:
      Tag: branch-0-5-0
	script_v5.cpp 
Log Message:
Disable launcher Options dialog (RC 747984), add hack for camera bug in ZakV2 (RC 770699)


Index: script_v5.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v5.cpp,v
retrieving revision 1.136
retrieving revision 1.136.2.1
diff -u -d -r1.136 -r1.136.2.1
--- script_v5.cpp	23 Jul 2003 05:17:21 -0000	1.136
+++ script_v5.cpp	30 Jul 2003 08:14:28 -0000	1.136.2.1
@@ -1304,6 +1304,14 @@
 	// and others. OTOH, it seems to cause a problem in newer games.
 	if (!(_features & GF_SMALL_HEADER) || room != _currentRoom)
 		startScene(room, 0, 0);
+
+	// FIXME: Incredibly nasty evil hack to fix bug #770699 (During meeting
+	// with Guru, script 42 changes between room 0 and room 19 to create
+	// 'some time later' effects. On switching back to room 19, the camera
+	// reverts to 0,0 - Added for 0.5.0, should be fixed properly
+	if (_gameId == GID_ZAK && (vm.slot[_currentScript].number == 42) && (room == 19))
+		setCameraAt(480, 0);
+
 	_fullRedraw = 1;
 }
 





More information about the Scummvm-git-logs mailing list