From 324be4b35216aa3d65e08d01063028e1bee22aae Mon Sep 17 00:00:00 2001 From: Andrey Akhmichin Date: Mon, 14 Jun 2021 22:50:02 +0500 Subject: [PATCH] #ifdef->#if. --- dlls/vendetta/par21.cpp | 4 ++-- dlls/weapons.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dlls/vendetta/par21.cpp b/dlls/vendetta/par21.cpp index b02a5d92..479cd07b 100644 --- a/dlls/vendetta/par21.cpp +++ b/dlls/vendetta/par21.cpp @@ -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; diff --git a/dlls/weapons.h b/dlls/weapons.h index b06b2066..1b59b872 100644 --- a/dlls/weapons.h +++ b/dlls/weapons.h @@ -848,7 +848,7 @@ public: virtual BOOL UseDecrement( void ) { -#if defined( CLIENT_WEAPONS ) +#if CLIENT_WEAPONS return TRUE; #else return FALSE;