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

Function updatelastaction

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

Source from the content-addressed store, hash-verified

20bool quicknade = false;
21
22void updatelastaction(playerent *d, int millis = lastmillis)
23{
24 loopi(NUMGUNS) d->weapons[i]->updatetimers(millis);
25 d->lastaction = millis;
26}
27
28void checkweaponswitch()
29{

Callers 5

reloadMethod · 0.85
onselectingMethod · 0.85
activatenadeMethod · 0.85
thrownadeMethod · 0.85
attackMethod · 0.85

Calls 2

updatetimersMethod · 0.80
loopiFunction · 0.70

Tested by

no test coverage detected