mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-22 20:21:26 +00:00
Fixed: Y and Z were flipped for sound velocity
This commit is contained in:
parent
a7044c9a8b
commit
40f0dbf51c
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