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(); }