[Scummvm-cvs-logs] SF.net SVN: scummvm: [24616] scummvm/trunk/engines/scumm/script_v5.cpp

kirben at users.sourceforge.net kirben at users.sourceforge.net
Sun Nov 5 01:22:51 CET 2006


Revision: 24616
          http://svn.sourceforge.net/scummvm/?rev=24616&view=rev
Author:   kirben
Date:     2006-11-04 16:22:46 -0800 (Sat, 04 Nov 2006)

Log Message:
-----------
SO_ROOM_INTENSITY isn't used by SCUMM V1 - 4 games

Modified Paths:
--------------
    scummvm/trunk/engines/scumm/script_v5.cpp

Modified: scummvm/trunk/engines/scumm/script_v5.cpp
===================================================================
--- scummvm/trunk/engines/scumm/script_v5.cpp	2006-11-05 00:22:18 UTC (rev 24615)
+++ scummvm/trunk/engines/scumm/script_v5.cpp	2006-11-05 00:22:46 UTC (rev 24616)
@@ -1879,17 +1879,9 @@
 		setScaleSlot(e - 1, 0, b, a, 0, d, c);
 		break;
 	case 8:		// SO_ROOM_INTENSITY
-		if (_game.features & GF_SMALL_HEADER) {
-			if (_game.version != 3) {
-				a = getVarOrDirectWord(PARAM_1);
-				b = getVarOrDirectWord(PARAM_2);
-			}
-			c = getVarOrDirectWord(PARAM_3);
-		} else {
-			a = getVarOrDirectByte(PARAM_1);
-			b = getVarOrDirectByte(PARAM_2);
-			c = getVarOrDirectByte(PARAM_3);
-		}
+		a = getVarOrDirectByte(PARAM_1);
+		b = getVarOrDirectByte(PARAM_2);
+		c = getVarOrDirectByte(PARAM_3);
 		darkenPalette(a, a, a, b, c);
 		break;
 	case 9:		// SO_ROOM_SAVEGAME


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list