mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-19 20:16:10 +08:00
Sync with upstream (Issue #30).
Recompiled tier1 and mathlib for all platforms will come in next commit.
This commit is contained in:
@ -2280,8 +2280,8 @@ CBaseCombatWeapon *CBaseCombatCharacter::Weapon_GetWpnForAmmo( int iAmmoIndex )
|
||||
//-----------------------------------------------------------------------------
|
||||
bool CBaseCombatCharacter::Weapon_CanUse( CBaseCombatWeapon *pWeapon )
|
||||
{
|
||||
acttable_t *pTable = pWeapon->ActivityList();
|
||||
int actCount = pWeapon->ActivityListCount();
|
||||
int actCount = 0;
|
||||
acttable_t *pTable = pWeapon->ActivityList( actCount );
|
||||
|
||||
if( actCount < 1 )
|
||||
{
|
||||
|
Reference in New Issue
Block a user