mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2024-12-28 15:45:41 +03:00
PM_CheckFalling: fix punchangle axis (Z -> X)
This commit is contained in:
parent
4e1cb1091f
commit
ce621c3412
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user