mirror of https://github.com/FWGS/hlsdk-xash3d
fix build
This commit is contained in:
parent
11716c6e23
commit
4ef7b10268
|
@ -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()];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue