[Scummvm-cvs-logs] CVS: scummvm/scumm script_v6he.cpp,2.75,2.76

Travis Howell kirben at users.sourceforge.net
Wed Jul 14 02:38:01 CEST 2004


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24588/scumm

Modified Files:
	script_v6he.cpp 
Log Message:

HE 7.0 games set fade effects to 1 but don't actually use any fade effects.


Index: script_v6he.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v6he.cpp,v
retrieving revision 2.75
retrieving revision 2.76
diff -u -d -r2.75 -r2.76
--- script_v6he.cpp	3 Jul 2004 10:03:21 -0000	2.75
+++ script_v6he.cpp	14 Jul 2004 09:37:15 -0000	2.76
@@ -459,7 +459,9 @@
 
 	case 181:		// SO_ROOM_FADE
 		a = pop();
-		if (a) {
+		if (_heversion == 70) {
+			// Defaults to 1 but doesn't use fade effects
+		} else if (a) {
 			_switchRoomEffect = (byte)(a & 0xFF);
 			_switchRoomEffect2 = (byte)(a >> 8);
 		} else {





More information about the Scummvm-git-logs mailing list