mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-12-02 08:53:29 +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)
|
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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue