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

Method selectable

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

Source from the content-addressed store, hash-verified

1076int weapon::dynspread() { return info.spread; }
1077float weapon::dynrecoil() { return info.recoil; }
1078bool weapon::selectable() { return this != owner->weaponsel && owner->state == CS_ALIVE && !owner->weaponchanging; }
1079bool weapon::deselectable() { return !reloading; }
1080
1081void weapon::equipplayer(playerent *pl)

Callers 3

selectweaponFunction · 0.80
loopiFunction · 0.80
SelectGunMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected