Fixed: Y and Z were flipped for sound velocity

This commit is contained in:
Marisa Heit 2016-09-27 16:27:31 -05:00 committed by raa-eruanna
parent d05ed3740b
commit 77ea195162

View file

@ -753,8 +753,8 @@ static void CalcPosVel(int type, const AActor *actor, const sector_t *sector,
if (type == SOURCE_Actor && actor != NULL) if (type == SOURCE_Actor && actor != NULL)
{ {
vel->X = float(actor->Vel.X * TICRATE); vel->X = float(actor->Vel.X * TICRATE);
vel->Y = float(actor->Vel.Y * TICRATE); vel->Y = float(actor->Vel.Z * TICRATE);
vel->Z = float(actor->Vel.Z * TICRATE); vel->Z = float(actor->Vel.Y * TICRATE);
} }
else else
{ {