mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-02-06 20:14:44 +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 "skill.h"
|
||||||
#include "items.h"
|
#include "items.h"
|
||||||
#include "gamerules.h"
|
#include "gamerules.h"
|
||||||
|
#include "game.h"
|
||||||
|
|
||||||
extern int gmsgItemPickup;
|
extern int gmsgItemPickup;
|
||||||
|
|
||||||
@ -257,7 +258,7 @@ class CItemSuit : public CItem
|
|||||||
}
|
}
|
||||||
BOOL MyTouch( CBasePlayer *pPlayer )
|
BOOL MyTouch( CBasePlayer *pPlayer )
|
||||||
{
|
{
|
||||||
if( pPlayer->pev->weapons & ( 1<<WEAPON_SUIT ) )
|
if( !mp_coop.value && pPlayer->pev->weapons & ( 1<<WEAPON_SUIT ) )
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
if( pev->spawnflags & SF_SUIT_SHORTLOGON )
|
if( pev->spawnflags & SF_SUIT_SHORTLOGON )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user