mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-30 16:44:29 +00:00
Force fire target on item_suit
This commit is contained in:
parent
7514a7b1f0
commit
0b22605eb4
@ -28,6 +28,7 @@
|
||||
#include "skill.h"
|
||||
#include "items.h"
|
||||
#include "gamerules.h"
|
||||
#include "game.h"
|
||||
|
||||
extern int gmsgItemPickup;
|
||||
|
||||
@ -257,7 +258,7 @@ class CItemSuit : public CItem
|
||||
}
|
||||
BOOL MyTouch( CBasePlayer *pPlayer )
|
||||
{
|
||||
if( pPlayer->pev->weapons & ( 1<<WEAPON_SUIT ) )
|
||||
if( !mp_coop.value && pPlayer->pev->weapons & ( 1<<WEAPON_SUIT ) )
|
||||
return FALSE;
|
||||
|
||||
if( pev->spawnflags & SF_SUIT_SHORTLOGON )
|
||||
|
Loading…
x
Reference in New Issue
Block a user