From 4d3249496a65ddf74ff68aa483e9452b6b8263b9 Mon Sep 17 00:00:00 2001 From: Rachael Alexanderson Date: Sat, 25 Aug 2018 18:23:49 -0400 Subject: [PATCH] - fixed: sound from poly objects through portals will now propegate 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 6b6e4b74f..30e6f918e 100644 --- a/src/s_sound.cpp +++ b/src/s_sound.cpp @@ -776,8 +776,8 @@ static void CalcPosVel(int type, const AActor *actor, const sector_t *sector, { DVector2 disp = level.Displacements.getOffset(pgroup, poly->CenterSubsector->sector->PortalGroup); CalcPolyobjSoundOrg(listenpos + disp, poly, *pos); - pos->X += (float)disp.X; - pos->Z += (float)disp.Y; + pos->X -= (float)disp.X; + pos->Z -= (float)disp.Y; } break; }