aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorThierry Crozat2015-05-11 20:15:03 +0100
committerThierry Crozat2015-05-11 20:15:03 +0100
commitfc2ac47eabfa745a23cc97259d4f624caa916a59 (patch)
tree6f41a1656366c1799262907557546e336610478b /engines
parent0cb0a09c02f20626bbcf2bb89341b02b7b3ff12c (diff)
downloadscummvm-rg350-fc2ac47eabfa745a23cc97259d4f624caa916a59.tar.gz
scummvm-rg350-fc2ac47eabfa745a23cc97259d4f624caa916a59.tar.bz2
scummvm-rg350-fc2ac47eabfa745a23cc97259d4f624caa916a59.zip
AGI: Remove dead code in PCjr code
I forgot to remove that code in commit 0cb0a09 when I removed the line that preceded it.
Diffstat (limited to 'engines')
-rw-r--r--engines/agi/sound_pcjr.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/engines/agi/sound_pcjr.cpp b/engines/agi/sound_pcjr.cpp
index 17370cb32f..ea7a2789e0 100644
--- a/engines/agi/sound_pcjr.cpp
+++ b/engines/agi/sound_pcjr.cpp
@@ -205,8 +205,6 @@ int SoundGenPCJr::volumeCalc(SndGenChan *chan) {
chan->attenuationCopy = attenuation;
attenuation &= 0x0F;
- if (attenuation > 0x0F)
- attenuation = 0x0F;
}
}
//if (computer_type == 2) && (attenuation < 8)