From 6315bd3960d6ddc1caedcf47d08afde10818198a Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Wed, 26 Feb 2020 00:20:52 +0100 Subject: [PATCH] - Exhumed - fixed wrong sound origin for special effect sound --- 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 c9b4e2231..4251c0c5c 100644 --- a/source/exhumed/src/sound.cpp +++ b/source/exhumed/src/sound.cpp @@ -345,7 +345,7 @@ void StartSwirly(int nActiveSound) nVolume = 220; soundEngine->StopSound(SOURCE_Swirly, &swirly, -1); - soundEngine->StartSound(SOURCE_Swirly, &fakesources[nActiveSound-1], nullptr, CHAN_BODY, 0, StaticSound[kSoundMana1]+1, nVolume / 255.f, ATTN_NONE, nullptr, nPitch / 11025.f); + soundEngine->StartSound(SOURCE_Swirly, &swirly, nullptr, CHAN_BODY, 0, StaticSound[kSoundMana1]+1, nVolume / 255.f, ATTN_NONE, nullptr, nPitch / 11025.f); } //==========================================================================