mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2024-12-29 08:05:46 +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;
|
pmove->flTimeStepSound = 300;
|
||||||
|
|
||||||
// Knock the screen around a little bit, temporary effect
|
// Knock the screen around a little bit, temporary effect
|
||||||
// punch z axis
|
// punch X axis
|
||||||
pmove->punchangle[2] = pmove->flFallVelocity * 0.013;
|
pmove->punchangle[0] = pmove->flFallVelocity * 0.013;
|
||||||
|
|
||||||
if (pmove->punchangle[0] > 8.0f)
|
if (pmove->punchangle[0] > 8.0f)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user