From 2198782ecbc0dacd37c011f594e32eeec805f50c Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 21 Jan 2023 12:01:32 +0100 Subject: [PATCH] - SW: make player sounds always follow the source. Let's hope this fixes the issues with weapon sounds. --- source/games/sw/src/game.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/games/sw/src/game.h b/source/games/sw/src/game.h index 11c6b024b..ea2e276d7 100644 --- a/source/games/sw/src/game.h +++ b/source/games/sw/src/game.h @@ -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) {