- fixed Exhumed's creepy sounds.

This commit is contained in:
Christoph Oelckers 2020-02-25 20:10:36 +01:00
parent 71083f2b23
commit b4a2a5c187
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}