mirror of
https://github.com/FWGS/hlsdk-xash3d
synced 2024-11-21 17:36:18 +01:00
Fix crowbar not showing in weapon list if there are empty weapon slots with lower id.
Same as ffe736252c
This commit is contained in:
parent
cf4d2a74dc
commit
e2da6954c8
@ -359,7 +359,7 @@ void CHudAmmo::Think( void )
|
||||
{
|
||||
WEAPON *p = gWR.GetWeapon( i );
|
||||
|
||||
if( p )
|
||||
if( p && p->iId )
|
||||
{
|
||||
if( gHUD.m_iWeaponBits & ( 1 << p->iId ) )
|
||||
gWR.PickupWeapon( p );
|
||||
|
Loading…
Reference in New Issue
Block a user