MCPcopy Create free account
hub / github.com/ValveSoftware/source-sdk-2013 / PlayerFallingDamage

Method PlayerFallingDamage

src/game/server/movehelper_server.cpp:360–404  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Purpose: Called when the player falls onto a surface fast enough to take damage, according to the rules in CGameMovement::CheckFalling. Output : Returns true if the player survived the fall, false if they died. -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

CheckFallingMethod · 0.45

Calls 9

GetContainingEntityFunction · 0.85
INDEXENTFunction · 0.85
UTIL_ScreenFadeFunction · 0.85
IncrementStatMethod · 0.80
CTakeDamageInfoClass · 0.70
FlPlayerFallDamageMethod · 0.45
TakeDamageMethod · 0.45
GetAbsOriginMethod · 0.45

Tested by

no test coverage detected