mirror of
https://github.com/celisej567/source-sdk-2013.git
synced 2026-09-17 20:10:21 +03:00
Implemented new pistol, 357, and crossbow activities
This commit is contained in:
@@ -1046,7 +1046,13 @@ WeaponClass_t CBaseCombatWeapon::WeaponClassify()
|
||||
Activity idleact = ActivityOverride(ACT_IDLE_ANGRY, NULL);
|
||||
switch (idleact)
|
||||
{
|
||||
#ifdef EXPANDED_HL2_WEAPON_ACTIVITIES
|
||||
case ACT_IDLE_ANGRY_REVOLVER:
|
||||
#endif
|
||||
case ACT_IDLE_ANGRY_PISTOL: return WEPCLASS_HANDGUN;
|
||||
#ifdef EXPANDED_HL2_WEAPON_ACTIVITIES
|
||||
case ACT_IDLE_ANGRY_CROSSBOW: // For now, crossbows are rifles
|
||||
#endif
|
||||
case ACT_IDLE_ANGRY_SMG1:
|
||||
case ACT_IDLE_ANGRY_AR2: return WEPCLASS_RIFLE;
|
||||
case ACT_IDLE_ANGRY_SHOTGUN: return WEPCLASS_SHOTGUN;
|
||||
|
||||
Reference in New Issue
Block a user