Skip to content

Commit

Permalink
Use proper constants for all GetBodygroup calls
Browse files Browse the repository at this point in the history
Resolves #373
  • Loading branch information
SamVanheer committed Sep 14, 2022
1 parent a507ab0 commit efe2c18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/server/entities/NPCs/blackops/male_assassin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ void CMOFAssassin::GibMonster()
Vector vecGunPos;
Vector vecGunAngles;

if (GetBodygroup(2) != 2)
if (GetBodygroup(MAssassinBodygroup::Weapons) != MAssassinWeapon::Blank)
{ // throw a gun if the grunt has one
GetAttachment(0, vecGunPos, vecGunAngles);

Expand Down

0 comments on commit efe2c18

Please sign in to comment.