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

Method CheckRangeAttack1

dlls/hgrunt.cpp:444–468  ·  view source on GitHub ↗

========================================================= CheckRangeAttack1 - overridden for HGrunt, cause FCanCheckAttacks() doesn't disqualify all attacks based on whether or not the enemy is occluded because unlike the base class, the HGrunt can attack when the enemy is occluded (throw grenade over wall, etc). We must disqualify the machine gun attack if the enemy is occluded. =================

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 4

UTIL_TraceLineFunction · 0.70
ENTFunction · 0.70
IsPlayerMethod · 0.45
BodyTargetMethod · 0.45

Tested by

no test coverage detected