- SW: make player sounds always follow the source.

Let's hope this fixes the issues with weapon sounds.
This commit is contained in:
Christoph Oelckers 2023-01-21 12:01:32 +01:00
parent 81f6899e72
commit 2198782ecb

View file

@ -1406,7 +1406,7 @@ void InitAmbient(int num, DSWActor* actor);
inline void PlaySound(int num, PLAYER* player, int flags, int channel = 8, EChanFlags sndflags = CHANF_NONE)
{
_PlaySound(num, nullptr, player, nullptr, flags, channel, sndflags);
_PlaySound(num, nullptr, player, nullptr, flags | v3df_follow, channel, sndflags);
}
inline void PlaySound(int num, int flags, int channel = 8, EChanFlags sndflags = CHANF_NONE)
{