From 0b22605eb4c51e5d1865e5b84194a1656f8353ef Mon Sep 17 00:00:00 2001 From: mittorn Date: Thu, 29 Sep 2016 03:46:29 +0700 Subject: [PATCH] Force fire target on item_suit --- dlls/items.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/items.cpp b/dlls/items.cpp index f0b1a6a4..3ac6ba55 100644 --- a/dlls/items.cpp +++ b/dlls/items.cpp @@ -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<pev->weapons & ( 1<spawnflags & SF_SUIT_SHORTLOGON )