|
|
@ -1464,7 +1464,7 @@ int CWeaponBox::GiveAmmo( int iCount, char *szName, int iMax, int *pIndex/* = NU |
|
|
|
// CWeaponBox::HasWeapon - is a weapon of this type already
|
|
|
|
// CWeaponBox::HasWeapon - is a weapon of this type already
|
|
|
|
// packed in this box?
|
|
|
|
// packed in this box?
|
|
|
|
//=========================================================
|
|
|
|
//=========================================================
|
|
|
|
BOOL CWeaponBox::HasWeapon( CBasePlayerItem *pCheckItem ) |
|
|
|
bool CWeaponBox::HasWeapon( CBasePlayerItem *pCheckItem ) |
|
|
|
{ |
|
|
|
{ |
|
|
|
CBasePlayerItem *pItem = m_rgpPlayerItems[pCheckItem->iItemSlot()]; |
|
|
|
CBasePlayerItem *pItem = m_rgpPlayerItems[pCheckItem->iItemSlot()]; |
|
|
|
|
|
|
|
|
|
|
|