MCPcopy Create free account
hub / github.com/assaultcube/AC / hitpush

Function hitpush

source/src/weapon.cpp:632–638  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

630}
631
632void hitpush(int damage, playerent *d, playerent *at, vec &from, vec &to, int gun, bool gib, int info)
633{
634 vec v(to);
635 v.sub(from);
636 v.normalize();
637 hit(damage, d, at, v, gun, gib, info);
638}
639
640float expdist(playerent *o, vec &dir, const vec &v)
641{

Callers 2

loopiFunction · 0.85
raydamageFunction · 0.85

Calls 1

hitFunction · 0.85

Tested by

no test coverage detected