From bccec3c3e75cef9f3c9c3081670a3902df100444 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Sun, 5 Nov 2006 00:22:46 +0000 Subject: SO_ROOM_INTENSITY isn't used by SCUMM V1 - 4 games svn-id: r24616 --- engines/scumm/script_v5.cpp | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'engines') diff --git a/engines/scumm/script_v5.cpp b/engines/scumm/script_v5.cpp index 41f963faf3..99e45137de 100644 --- a/engines/scumm/script_v5.cpp +++ b/engines/scumm/script_v5.cpp @@ -1879,17 +1879,9 @@ void ScummEngine_v5::o5_roomOps() { 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 -- cgit v1.2.3