MCPcopy Create free account
hub / github.com/MoeMod/CSMoE / PM_PreventMegaBunnyJumping

Function PM_PreventMegaBunnyJumping

pm_shared/pm_shared.cpp:2518–2543  ·  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.85

Calls 2

LengthFunction · 0.50
VectorScaleFunction · 0.50

Tested by

no test coverage detected