SO_ROOM_INTENSITY isn't used by SCUMM V1 - 4 games

svn-id: r24616
This commit is contained in:
Travis Howell 2006-11-05 00:22:46 +00:00
parent 6fb623284c
commit bccec3c3e7

View File

@ -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