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 )