aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTravis Howell2006-11-05 00:22:46 +0000
committerTravis Howell2006-11-05 00:22:46 +0000
commitbccec3c3e75cef9f3c9c3081670a3902df100444 (patch)
tree77fdd77fef4adb30c8f3ae2a57caf249ded7d6b0 /engines
parent6fb623284cf7453f80b1688b1fe38d97d74daff4 (diff)
downloadscummvm-rg350-bccec3c3e75cef9f3c9c3081670a3902df100444.tar.gz
scummvm-rg350-bccec3c3e75cef9f3c9c3081670a3902df100444.tar.bz2
scummvm-rg350-bccec3c3e75cef9f3c9c3081670a3902df100444.zip
SO_ROOM_INTENSITY isn't used by SCUMM V1 - 4 games
svn-id: r24616
Diffstat (limited to 'engines')
-rw-r--r--engines/scumm/script_v5.cpp14
1 files changed, 3 insertions, 11 deletions
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