From b4a2a5c187acc347477c51b5bb779f6c75216688 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 25 Feb 2020 20:10:36 +0100 Subject: [PATCH] - fixed Exhumed's creepy sounds. --- source/exhumed/src/sound.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/exhumed/src/sound.cpp b/source/exhumed/src/sound.cpp index a6f76124e..c9b4e2231 100644 --- a/source/exhumed/src/sound.cpp +++ b/source/exhumed/src/sound.cpp @@ -559,7 +559,7 @@ void PlayFX2(unsigned short nSound, short nSprite) GetSpriteSoundPitch(&nVolume, &nPitch); - if (nSprite) + if (nSprite >= 0) { soundEngine->StartSound(SOURCE_Actor, &sprite[nSprite], nullptr, CHAN_BODY, CHANF_OVERLAP, nSound+1, nVolume / 255.f, ATTN_NORM, nullptr, (11025 + nPitch) / 11025.f); }