#ifdef->#if.

This commit is contained in:
Andrey Akhmichin 2021-06-16 01:11:43 +05:00
parent b085b8c5fb
commit 533cd01568
3 changed files with 4 additions and 9 deletions

View File

@ -911,7 +911,7 @@ void _DLLEXPORT HUD_PostRunCmd( struct local_state_s *from, struct local_state_s
{
g_runfuncs = runfuncs;
#if defined( CLIENT_WEAPONS )
#if CLIENT_WEAPONS
if( cl_lw && cl_lw->value )
{
HUD_WeaponsPostThink( from, to, cmd, time, random_seed );

View File

@ -75,13 +75,8 @@ public:
int Restore( CRestore &restore );
CBaseEntity *Kick( void );
#if defined ( NOFFICE_DLL )
virtual Schedule_t *GetSchedule(void);
virtual Schedule_t *GetScheduleOfType ( int Type );
#else
Schedule_t *GetSchedule( void );
Schedule_t *GetScheduleOfType ( int Type );
#endif // defined ( NOFFICE_DLL )
void TraceAttack( entvars_t *pevAttacker, float flDamage, Vector vecDir, TraceResult *ptr, int bitsDamageType);
int TakeDamage( entvars_t *pevInflictor, entvars_t *pevAttacker, float flDamage, int bitsDamageType );

View File

@ -984,7 +984,7 @@ public:
virtual BOOL UseDecrement( void )
{
#if defined( CLIENT_WEAPONS )
#if CLIENT_WEAPONS
return TRUE;
#else
return FALSE;
@ -996,7 +996,7 @@ class CTorch : public CBasePlayerWeapon
{
public:
#ifndef CLIENT_DLL
#if !CLIENT_DLL
int Save( CSave &save );
int Restore( CRestore &restore );
static TYPEDESCRIPTION m_SaveData[];
@ -1015,7 +1015,7 @@ public:
virtual BOOL UseDecrement( void )
{
#if defined( CLIENT_WEAPONS )
#if CLIENT_WEAPONS
return TRUE;
#else
return FALSE;