From 701aed0e9204cdb8b2532267d81f9af8d1530238 Mon Sep 17 00:00:00 2001 From: Fabian Greffrath Date: Thu, 2 May 2024 22:42:30 +0200 Subject: [PATCH] comment --- rott/fx_mixer.c | 2 +- rott/rt_playr.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/rott/fx_mixer.c b/rott/fx_mixer.c index 1482ace..473ecc3 100644 --- a/rott/fx_mixer.c +++ b/rott/fx_mixer.c @@ -453,7 +453,7 @@ int FX_AllSoundsRTP(void) { if (FX_SoundActive(i)) { - if (channels[i].x || channels[i].y) + if (channels[i].x | channels[i].y) { SD_PanRTP(i, channels[i].x, channels[i].y); } diff --git a/rott/rt_playr.c b/rott/rt_playr.c index 2cf4d38..51bfa10 100644 --- a/rott/rt_playr.c +++ b/rott/rt_playr.c @@ -5938,6 +5938,7 @@ void T_Player (objtype *ob) } #endif + // [FG] update all sound pannings relative to the player SD_AllSoundsRTP(); }