Fixed: Y and Z were flipped for sound velocity

This commit is contained in:
Marisa Heit 2016-09-27 16:27:31 -05:00
parent a7044c9a8b
commit 40f0dbf51c

View file

@ -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
{