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

Method flashtime

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

Source from the content-addressed store, hash-verified

941const float weapon::weaponbeloweye = 0.2f;
942
943int weapon::flashtime() const { return max((int)info.attackdelay, 120)/4; }
944
945void weapon::sendshoot(vec &from, vec &to, int millis)
946{

Callers 1

renderclientFunction · 0.80

Calls 1

maxFunction · 0.85

Tested by

no test coverage detected