From 780ddd21bd0929c1c21f51d7d3de9da58d5e6bb7 Mon Sep 17 00:00:00 2001 From: Rachael Alexanderson Date: Mon, 4 Jun 2018 13:10:58 -0400 Subject: [PATCH] - fixed - sector sounds were not translated through portal groups properly --- src/s_sound.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/s_sound.cpp b/src/s_sound.cpp index 9e2830cd9..2f272019e 100644 --- a/src/s_sound.cpp +++ b/src/s_sound.cpp @@ -757,8 +757,8 @@ static void CalcPosVel(int type, const AActor *actor, const sector_t *sector, { // listener must be reversely offset to calculate the proper sound origin. CalcSectorSoundOrg(listenpos + disp, sector, channum, *pos); - pos->X += (float)disp.X; - pos->Z += (float)disp.Y; + pos->X -= (float)disp.X; + pos->Z -= (float)disp.Y; } else {