MCPcopy Create free account
hub / github.com/ValveSoftware/halflife / PM_PreventMegaBunnyJumping

Function PM_PreventMegaBunnyJumping

pm_shared/pm_shared.c:2444–2467  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Purpose: Corrects bunny jumping ( where player initiates a bunny jump before other movement logic runs, thus making onground == -1 thus making PM_Friction get skipped and running PM_AirMove, which doesn't crop velocity to maxspeed like the ground / other movement logic does. ----------------------------------------------

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

PM_JumpFunction · 0.70

Calls 2

LengthFunction · 0.70
VectorScaleFunction · 0.70

Tested by

no test coverage detected