Skip to content

Commit

Permalink
- SW: make player sounds always follow the source.
Browse files Browse the repository at this point in the history
Let's hope this fixes the issues with weapon sounds.
  • Loading branch information
coelckers committed Jan 21, 2023
1 parent 81f6899 commit 2198782
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/games/sw/src/game.h
Expand Up @@ -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)
{
Expand Down

0 comments on commit 2198782

Please sign in to comment.