mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 23:32:04 +00:00
Fixed: Y and Z were flipped for sound velocity
This commit is contained in:
parent
d05ed3740b
commit
77ea195162
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue