control: add g path_clean to remove all links from node (#475)

refactor: small cosmetic changes
This commit is contained in:
jeefo 2023-08-08 11:48:37 +03:00
commit fb301b7b19
No known key found for this signature in database
GPG key ID: 927BCA0779BEA8ED
23 changed files with 205 additions and 132 deletions

View file

@ -447,3 +447,8 @@ constexpr auto kSecondaryWeaponMask = (cr::bit (Weapon::P228) | cr::bit (Weapon:
// weapons < 7 are secondary
constexpr auto kPrimaryWeaponMinIndex = 7;
// grenade model names
static constexpr StringRef kExplosiveModelName = "hegrenade.mdl";
static constexpr StringRef kFlashbangModelName = "flashbang.mdl";
static constexpr StringRef kSmokeModelName = "smokegrenade.mdl";