From fc2ac47eabfa745a23cc97259d4f624caa916a59 Mon Sep 17 00:00:00 2001 From: Thierry Crozat Date: Mon, 11 May 2015 20:15:03 +0100 Subject: AGI: Remove dead code in PCjr code I forgot to remove that code in commit 0cb0a09 when I removed the line that preceded it. --- engines/agi/sound_pcjr.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'engines') 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) -- cgit v1.2.3