#ifdef->#if.

This commit is contained in:
Andrey Akhmichin 2021-06-14 22:50:02 +05:00
parent daaac7fe5f
commit 324be4b352
2 changed files with 3 additions and 3 deletions

View File

@ -157,7 +157,7 @@ void CPar21::PrimaryAttack()
vecDir = m_pPlayer->FireBulletsPlayer(1, vecSrc, vecAiming, VECTOR_CONE_3DEGREES, 8192, BULLET_PLAYER_MP5, 2, 0, m_pPlayer->pev, m_pPlayer->random_seed);
int flags;
#if defined( CLIENT_WEAPONS )
#if CLIENT_WEAPONS
flags = FEV_NOTHOST;
#else
flags = 0;
@ -210,7 +210,7 @@ void CPar21::SecondaryAttack(void)
gpGlobals->v_forward * 800);
int flags;
#if defined( CLIENT_WEAPONS )
#if CLIENT_WEAPONS
flags = FEV_NOTHOST;
#else
flags = 0;

View File

@ -848,7 +848,7 @@ public:
virtual BOOL UseDecrement( void )
{
#if defined( CLIENT_WEAPONS )
#if CLIENT_WEAPONS
return TRUE;
#else
return FALSE;