PM_CheckFalling: fix punchangle axis (Z -> X)

This commit is contained in:
Sergey Shorokhov 2024-08-14 12:38:23 +03:00
parent 4e1cb1091f
commit ce621c3412

View File

@ -2726,8 +2726,8 @@ void PM_CheckFalling()
pmove->flTimeStepSound = 300;
// Knock the screen around a little bit, temporary effect
// punch z axis
pmove->punchangle[2] = pmove->flFallVelocity * 0.013;
// punch X axis
pmove->punchangle[0] = pmove->flFallVelocity * 0.013;
if (pmove->punchangle[0] > 8.0f)
{