From 77ea195162884d0d035d0e5b1cdbe331293a8331 Mon Sep 17 00:00:00 2001 From: Marisa Heit Date: Tue, 27 Sep 2016 16:27:31 -0500 Subject: [PATCH] Fixed: Y and Z were flipped for sound velocity --- 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 866af965a..06df0dbad 100644 --- a/src/s_sound.cpp +++ b/src/s_sound.cpp @@ -753,8 +753,8 @@ static void CalcPosVel(int type, const AActor *actor, const sector_t *sector, if (type == SOURCE_Actor && actor != NULL) { vel->X = float(actor->Vel.X * TICRATE); - vel->Y = float(actor->Vel.Y * TICRATE); - vel->Z = float(actor->Vel.Z * TICRATE); + vel->Y = float(actor->Vel.Z * TICRATE); + vel->Z = float(actor->Vel.Y * TICRATE); } else {