Browse Source

#ifdef->#if.

zombie-x
Andrey Akhmichin 4 years ago
parent
commit
05ea3bc8ec
  1. 2
      cl_dll/hl/hl_weapons.cpp
  2. 2
      dlls/python.cpp
  3. 18
      dlls/weapons.h
  4. 8
      dlls/zx/ak47.cpp
  5. 2
      dlls/zx/apache_blackop.cpp
  6. 4
      dlls/zx/auto_shotgun.cpp
  7. 4
      dlls/zx/eagel.cpp
  8. 2
      dlls/zx/engine.cpp
  9. 4
      dlls/zx/hands.cpp
  10. 12
      dlls/zx/minigun.cpp
  11. 6
      dlls/zx/mp41a.cpp
  12. 17
      dlls/zx/op_eagle.cpp
  13. 8
      dlls/zx/shockgun.cpp
  14. 14
      dlls/zx/swort.cpp
  15. 4
      dlls/zx/uzi.cpp
  16. 12
      dlls/zx/waypoint.cpp

2
cl_dll/hl/hl_weapons.cpp

@ -1102,7 +1102,7 @@ void _DLLEXPORT HUD_PostRunCmd( struct local_state_s *from, struct local_state_s @@ -1102,7 +1102,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 );

2
dlls/python.cpp

@ -158,7 +158,7 @@ void CPython::SecondaryAttack( void ) @@ -158,7 +158,7 @@ void CPython::SecondaryAttack( void )
vecDir = m_pPlayer->FireBulletsPlayer( 1, vecSrc, vecAiming, VECTOR_CONE_4DEGREES, 8192, BULLET_PLAYER_357, 0, 0, m_pPlayer->pev, m_pPlayer->random_seed );
int flags;
#if defined( CLIENT_WEAPONS )
#if CLIENT_WEAPONS
flags = FEV_NOTHOST;
#else
flags = 0;

18
dlls/weapons.h

@ -563,7 +563,7 @@ public: @@ -563,7 +563,7 @@ public:
virtual BOOL UseDecrement( void )
{
#if defined( CLIENT_WEAPONS )
#if CLIENT_WEAPONS
return TRUE;
#else
return FALSE;
@ -630,7 +630,7 @@ public: @@ -630,7 +630,7 @@ public:
virtual BOOL UseDecrement( void )
{
#if defined( CLIENT_WEAPONS )
#if CLIENT_WEAPONS
return TRUE;
#else
return FALSE;
@ -723,7 +723,7 @@ public: @@ -723,7 +723,7 @@ public:
virtual BOOL UseDecrement( void )
{
#if defined( CLIENT_WEAPONS )
#if CLIENT_WEAPONS
return TRUE;
#else
return FALSE;
@ -753,7 +753,7 @@ public: @@ -753,7 +753,7 @@ public:
virtual BOOL UseDecrement( void )
{
#if defined( CLIENT_WEAPONS )
#if CLIENT_WEAPONS
return TRUE;
#else
return FALSE;
@ -783,7 +783,7 @@ public: @@ -783,7 +783,7 @@ public:
virtual BOOL UseDecrement( void )
{
#if defined( CLIENT_WEAPONS )
#if CLIENT_WEAPONS
return TRUE;
#else
return FALSE;
@ -814,7 +814,7 @@ public: @@ -814,7 +814,7 @@ public:
virtual BOOL UseDecrement( void )
{
#if defined( CLIENT_WEAPONS )
#if CLIENT_WEAPONS
return TRUE;
#else
return FALSE;
@ -904,7 +904,7 @@ private: @@ -904,7 +904,7 @@ private:
class CShotgunA : public CBasePlayerWeapon
{
public:
#ifndef CLIENT_DLL
#if !CLIENT_DLL
int Save( CSave &save );
int Restore( CRestore &restore );
static TYPEDESCRIPTION m_SaveData[];
@ -928,7 +928,7 @@ public: @@ -928,7 +928,7 @@ public:
virtual BOOL UseDecrement( void )
{
#if defined( CLIENT_WEAPONS )
#if CLIENT_WEAPONS
return TRUE;
#else
return FALSE;
@ -1196,7 +1196,7 @@ public: @@ -1196,7 +1196,7 @@ public:
virtual BOOL UseDecrement( void )
{
#if defined( CLIENT_WEAPONS )
#if CLIENT_WEAPONS
return TRUE;
#else
return FALSE;

8
dlls/zx/ak47.cpp

@ -136,7 +136,7 @@ void Cak47::PrimaryAttack() @@ -136,7 +136,7 @@ void Cak47::PrimaryAttack()
Vector vecAiming = m_pPlayer->GetAutoaimVector( AUTOAIM_5DEGREES );
Vector vecDir;
#ifdef CLIENT_DLL
#if CLIENT_DLL
if( bIsMultiplayer() )
#else
if( g_pGameRules->IsMultiplayer() )
@ -152,7 +152,7 @@ void Cak47::PrimaryAttack() @@ -152,7 +152,7 @@ void Cak47::PrimaryAttack()
}
int flags;
#if defined( CLIENT_WEAPONS )
#if CLIENT_WEAPONS
flags = FEV_NOTHOST;
#else
flags = 0;
@ -206,7 +206,7 @@ void Cak47::SecondaryAttack( void ) @@ -206,7 +206,7 @@ void Cak47::SecondaryAttack( void )
Vector vecAiming = m_pPlayer->GetAutoaimVector( AUTOAIM_5DEGREES );
Vector vecDir;
#ifdef CLIENT_DLL
#if CLIENT_DLL
if( bIsMultiplayer() )
#else
if( g_pGameRules->IsMultiplayer() )
@ -222,7 +222,7 @@ void Cak47::SecondaryAttack( void ) @@ -222,7 +222,7 @@ void Cak47::SecondaryAttack( void )
}
int flags;
#if defined( CLIENT_WEAPONS )
#if CLIENT_WEAPONS
flags = FEV_NOTHOST;
#else
flags = 0;

2
dlls/zx/apache_blackop.cpp

@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@
* use or distribution of this code by or to any unlicensed person is illegal.
*
****/
#ifndef OEM_BUILD
#if !OEM_BUILD
#include "extdll.h"
#include "util.h"

4
dlls/zx/auto_shotgun.cpp

@ -153,7 +153,7 @@ void CShotgunA::PrimaryAttack() @@ -153,7 +153,7 @@ void CShotgunA::PrimaryAttack()
m_iClip--;
int flags;
#if defined( CLIENT_WEAPONS )
#if CLIENT_WEAPONS
flags = FEV_NOTHOST;
#else
flags = 0;
@ -167,7 +167,7 @@ void CShotgunA::PrimaryAttack() @@ -167,7 +167,7 @@ void CShotgunA::PrimaryAttack()
Vector vecDir;
#ifdef CLIENT_DLL
#if CLIENT_DLL
if ( bIsMultiplayer() )
#else
if ( g_pGameRules->IsMultiplayer() )

4
dlls/zx/eagel.cpp

@ -100,7 +100,7 @@ int CEagel::AddToPlayer( CBasePlayer *pPlayer ) @@ -100,7 +100,7 @@ int CEagel::AddToPlayer( CBasePlayer *pPlayer )
BOOL CEagel::Deploy( )
{
#ifdef CLIENT_DLL
#if CLIENT_DLL
if ( bIsMultiplayer() )
#else
if ( g_pGameRules->IsMultiplayer() )
@ -172,7 +172,7 @@ void CEagel::EagelFire( float flSpread, float flCycleTime, BOOL fUseAutoAim ) @@ -172,7 +172,7 @@ void CEagel::EagelFire( float flSpread, float flCycleTime, BOOL fUseAutoAim )
int flags;
#if defined( CLIENT_WEAPONS )
#if CLIENT_WEAPONS
flags = FEV_NOTHOST;
#else
flags = 0;

2
dlls/zx/engine.cpp

@ -859,7 +859,7 @@ int pfnRegUserMsg(const char *pszName, int iSize) @@ -859,7 +859,7 @@ int pfnRegUserMsg(const char *pszName, int iSize)
if (gpGlobals->deathmatch)
{
#ifdef _DEBUG
#if _DEBUG
fp=fopen("HPB_bot.txt","a"); fprintf(fp,"pfnRegUserMsg: pszName=%s msg=%d\n",pszName,msg); fclose(fp);
#endif

4
dlls/zx/hands.cpp

@ -179,7 +179,7 @@ int CHands::Swing( int fFirst ) @@ -179,7 +179,7 @@ int CHands::Swing( int fFirst )
UTIL_TraceLine( vecSrc, vecEnd, dont_ignore_monsters, ENT( m_pPlayer->pev ), &tr );
#ifndef CLIENT_DLL
#if !CLIENT_DLL
if ( tr.flFraction >= 1.0 )
{
UTIL_TraceHull( vecSrc, vecEnd, dont_ignore_monsters, head_hull, ENT( m_pPlayer->pev ), &tr );
@ -226,7 +226,7 @@ int CHands::Swing( int fFirst ) @@ -226,7 +226,7 @@ int CHands::Swing( int fFirst )
// player "shoot" animation
m_pPlayer->SetAnimation( PLAYER_ATTACK1 );
#ifndef CLIENT_DLL
#if !CLIENT_DLL
// hit
fDidHit = TRUE;

12
dlls/zx/minigun.cpp

@ -144,7 +144,7 @@ void CMinigun::PrimaryAttack() @@ -144,7 +144,7 @@ void CMinigun::PrimaryAttack()
Vector vecDir;
#ifdef CLIENT_DLL
#if CLIENT_DLL
if( bIsMultiplayer() )
#else
if( g_pGameRules->IsMultiplayer() )
@ -160,7 +160,7 @@ void CMinigun::PrimaryAttack() @@ -160,7 +160,7 @@ void CMinigun::PrimaryAttack()
}
int flags;
#if defined( CLIENT_WEAPONS )
#if CLIENT_WEAPONS
flags = FEV_NOTHOST;
#else
flags = 0;
@ -177,7 +177,7 @@ void CMinigun::PrimaryAttack() @@ -177,7 +177,7 @@ void CMinigun::PrimaryAttack()
if ( m_flNextPrimaryAttack < UTIL_WeaponTimeBase() )
m_flNextPrimaryAttack = UTIL_WeaponTimeBase() + 0.05f;
#ifndef CLIENT_DLL
#if !CLIENT_DLL
UTIL_ScreenShake( pev->origin, 5.0, 150.0, 0.75, 250.0 );
#endif
@ -218,7 +218,7 @@ void CMinigun::SecondaryAttack( void ) @@ -218,7 +218,7 @@ void CMinigun::SecondaryAttack( void )
Vector vecDir;
#ifdef CLIENT_DLL
#if CLIENT_DLL
if( bIsMultiplayer() )
#else
if( g_pGameRules->IsMultiplayer() )
@ -234,7 +234,7 @@ void CMinigun::SecondaryAttack( void ) @@ -234,7 +234,7 @@ void CMinigun::SecondaryAttack( void )
}
int flags;
#if defined( CLIENT_WEAPONS )
#if CLIENT_WEAPONS
flags = FEV_NOTHOST;
#else
flags = 0;
@ -251,7 +251,7 @@ void CMinigun::SecondaryAttack( void ) @@ -251,7 +251,7 @@ void CMinigun::SecondaryAttack( void )
if ( m_flNextSecondaryAttack < UTIL_WeaponTimeBase() )
m_flNextSecondaryAttack = UTIL_WeaponTimeBase() + 0.01f;
#ifndef CLIENT_DLL
#if !CLIENT_DLL
UTIL_ScreenShake( pev->origin, 5.0, 150.0, 0.75, 250.0 );
#endif

6
dlls/zx/mp41a.cpp

@ -158,7 +158,7 @@ void CMP41a::PrimaryAttack() @@ -158,7 +158,7 @@ void CMP41a::PrimaryAttack()
Vector vecAiming = m_pPlayer->GetAutoaimVector( AUTOAIM_5DEGREES );
Vector vecDir;
#ifdef CLIENT_DLL
#if CLIENT_DLL
if( bIsMultiplayer() )
#else
if( g_pGameRules->IsMultiplayer() )
@ -174,7 +174,7 @@ void CMP41a::PrimaryAttack() @@ -174,7 +174,7 @@ void CMP41a::PrimaryAttack()
}
int flags;
#if defined( CLIENT_WEAPONS )
#if CLIENT_WEAPONS
flags = FEV_NOTHOST;
#else
flags = 0;
@ -231,7 +231,7 @@ void CMP41a::SecondaryAttack( void ) @@ -231,7 +231,7 @@ void CMP41a::SecondaryAttack( void )
gpGlobals->v_forward * 800 );
int flags;
#if defined( CLIENT_WEAPONS )
#if CLIENT_WEAPONS
flags = FEV_NOTHOST;
#else
flags = 0;

17
dlls/zx/op_eagle.cpp

@ -101,7 +101,7 @@ void CEagle::SecondaryAttack( void ) @@ -101,7 +101,7 @@ void CEagle::SecondaryAttack( void )
{
m_fDotActive = ! m_fDotActive;
#ifndef CLIENT_DLL
#if !CLIENT_DLL
if (!m_fDotActive && m_pDot)
{
m_pDot->Killed( NULL, GIB_NORMAL );
@ -125,7 +125,7 @@ void CEagle::Holster( int skiplocal /* = 0 */ ) @@ -125,7 +125,7 @@ void CEagle::Holster( int skiplocal /* = 0 */ )
{
m_fInReload = FALSE;// cancel any reload in progress.
#ifndef CLIENT_DLL
#if !CLIENT_DLL
if (m_pDot)
{
m_pDot->Killed( NULL, GIB_NEVER );
@ -166,7 +166,7 @@ void CEagle::EagleFire( float flCycleTime, BOOL fUseAutoAim ) @@ -166,7 +166,7 @@ void CEagle::EagleFire( float flCycleTime, BOOL fUseAutoAim )
m_pPlayer->pev->effects = (int)(m_pPlayer->pev->effects) | EF_MUZZLEFLASH;
#if defined ( OLD_WEAPONS )
#if OLD_WEAPONS
if (m_iClip != 0)
SendWeaponAnim( EAGLE_FIRE );
else
@ -175,7 +175,7 @@ SendWeaponAnim( EAGLE_FIRE_EMPTY ); @@ -175,7 +175,7 @@ SendWeaponAnim( EAGLE_FIRE_EMPTY );
int flags;
#if defined( CLIENT_WEAPONS )
#if CLIENT_WEAPONS
flags = FEV_NOTHOST;
#else
flags = 0;
@ -185,7 +185,7 @@ PLAYBACK_EVENT_FULL( flags, m_pPlayer->edict(), fUseAutoAim ? m_usFireEagle : m_ @@ -185,7 +185,7 @@ PLAYBACK_EVENT_FULL( flags, m_pPlayer->edict(), fUseAutoAim ? m_usFireEagle : m_
// player "shoot" animation
m_pPlayer->SetAnimation( PLAYER_ATTACK1 );
#if defined ( OLD_WEAPONS )
#if OLD_WEAPONS
UTIL_MakeVectors( m_pPlayer->pev->v_angle + m_pPlayer->pev->punchangle );
UTIL_Ricochet( ptr->vecStartPos, 1.0 );
UTIL_Ricochet( ptr->vecEndPos, 2.0 ); // ADDED RICHOSHET MODE
@ -200,8 +200,7 @@ if (pev->body == 0) @@ -200,8 +200,7 @@ if (pev->body == 0)
{
m_pPlayer->m_iWeaponVolume = QUIET_GUN_VOLUME;
m_pPlayer->m_iWeaponFlash = DIM_GUN_FLASH;
#if defined ( OLD_WEAPONS )
#if OLD_WEAPONS
EMIT_SOUND(ENT(m_pPlayer->pev), CHAN_WEAPON, "weapons/desert_eagle_fire.wav", RANDOM_FLOAT(0.9, 1.0), ATTN_NORM);
#endif
}
@ -236,7 +235,7 @@ m_flTimeWeaponIdle = UTIL_WeaponTimeBase() + UTIL_SharedRandomFloat( m_pPlayer-> @@ -236,7 +235,7 @@ m_flTimeWeaponIdle = UTIL_WeaponTimeBase() + UTIL_SharedRandomFloat( m_pPlayer->
UpdateDot( );
#if defined ( OLD_WEAPONS )
#if OLD_WEAPONS
m_pPlayer->pev->punchangle.x -= 2;
#endif
}
@ -316,7 +315,7 @@ void CEagle::WeaponIdle( void ) @@ -316,7 +315,7 @@ void CEagle::WeaponIdle( void )
void CEagle::UpdateDot( void )
{
#ifndef CLIENT_DLL
#if !CLIENT_DLL
if (m_fDotActive)
{
if (!m_pDot)

8
dlls/zx/shockgun.cpp

@ -88,7 +88,7 @@ int CShockRifle::AddToPlayer( CBasePlayer *pPlayer ) @@ -88,7 +88,7 @@ int CShockRifle::AddToPlayer( CBasePlayer *pPlayer )
if ( CBasePlayerWeapon::AddToPlayer( pPlayer ) )
{
#ifndef CLIENT_DLL
#if !CLIENT_DLL
if ( g_pGameRules->IsMultiplayer() )
{
// in multiplayer, all shockroaches come full.
@ -132,7 +132,7 @@ void CShockRifle::PrimaryAttack() @@ -132,7 +132,7 @@ void CShockRifle::PrimaryAttack()
if (m_pPlayer->pev->waterlevel == 3)
{
TraceResult tr;
#ifndef CLIENT_DLL
#if !CLIENT_DLL
m_pPlayer->TakeDamage( VARS(eoNullEntity), VARS(eoNullEntity), 255, DMG_SHOCK );
UTIL_ScreenFade( m_pPlayer, Vector(201,236,255), 2, 0.5, 128, FFADE_IN );
#endif
@ -144,7 +144,7 @@ void CShockRifle::PrimaryAttack() @@ -144,7 +144,7 @@ void CShockRifle::PrimaryAttack()
return;
}
int flags;
#if defined( CLIENT_WEAPONS )
#if CLIENT_WEAPONS
flags = FEV_NOTHOST;
#else
flags = 0;
@ -166,7 +166,7 @@ void CShockRifle::PrimaryAttack() @@ -166,7 +166,7 @@ void CShockRifle::PrimaryAttack()
Vector vecSrc = m_pPlayer->GetGunPosition( )+ gpGlobals->v_forward * 16 + gpGlobals->v_right * 16 + gpGlobals->v_up * -12;
#ifndef CLIENT_DLL
#if !CLIENT_DLL
CBaseEntity *pShock = CBaseEntity::Create( "shock", vecSrc, anglesAim, m_pPlayer->edict() );
pShock->pev->velocity = gpGlobals->v_forward * 1500;

14
dlls/zx/swort.cpp

@ -40,7 +40,7 @@ enum swort_e @@ -40,7 +40,7 @@ enum swort_e
SWORT_ATTACK2MISS,
SWORT_ATTACK2HIT,
SWORT_ATTACK3MISS,
#ifndef CROWBAR_IDLE_ANIM
#if !CROWBAR_IDLE_ANIM
SWORT_ATTACK3HIT
#else
SWORT_ATTACK3HIT,
@ -196,7 +196,7 @@ int CSwort::Swing( int fFirst ) @@ -196,7 +196,7 @@ int CSwort::Swing( int fFirst )
UTIL_TraceLine( vecSrc, vecEnd, dont_ignore_monsters, ENT( m_pPlayer->pev ), &tr );
#ifndef CLIENT_DLL
#if !CLIENT_DLL
if ( tr.flFraction >= 1.0f )
{
UTIL_TraceHull( vecSrc, vecEnd, dont_ignore_monsters, head_hull, ENT( m_pPlayer->pev ), &tr );
@ -225,7 +225,7 @@ int CSwort::Swing( int fFirst ) @@ -225,7 +225,7 @@ int CSwort::Swing( int fFirst )
{
// miss
m_flNextPrimaryAttack = GetNextAttackDelay( 0.5f );
#ifdef CROWBAR_IDLE_ANIM
#if CROWBAR_IDLE_ANIM
m_flTimeWeaponIdle = UTIL_WeaponTimeBase() + UTIL_SharedRandomFloat( m_pPlayer->random_seed, 10, 15 );
#endif
// player "shoot" animation
@ -247,7 +247,7 @@ int CSwort::Swing( int fFirst ) @@ -247,7 +247,7 @@ int CSwort::Swing( int fFirst )
// player "shoot" animation
m_pPlayer->SetAnimation( PLAYER_ATTACK1 );
#ifndef CLIENT_DLL
#if !CLIENT_DLL
// hit
fDidHit = TRUE;
@ -263,7 +263,7 @@ int CSwort::Swing( int fFirst ) @@ -263,7 +263,7 @@ int CSwort::Swing( int fFirst )
// If building with the clientside weapon prediction system,
// UTIL_WeaponTimeBase() is always 0 and m_flNextPrimaryAttack is >= -1.0f, thus making
// m_flNextPrimaryAttack + 1 < UTIL_WeaponTimeBase() always evaluate to false.
#ifdef CLIENT_WEAPONS
#if CLIENT_WEAPONS
if( ( m_flNextPrimaryAttack + 1 == UTIL_WeaponTimeBase() ) || g_pGameRules->IsMultiplayer() )
#else
if( ( m_flNextPrimaryAttack + 1 < UTIL_WeaponTimeBase() ) || g_pGameRules->IsMultiplayer() )
@ -343,13 +343,13 @@ int CSwort::Swing( int fFirst ) @@ -343,13 +343,13 @@ int CSwort::Swing( int fFirst )
}
#ifdef CROWBAR_IDLE_ANIM
#if CROWBAR_IDLE_ANIM
m_flTimeWeaponIdle = UTIL_WeaponTimeBase() + UTIL_SharedRandomFloat( m_pPlayer->random_seed, 10, 15 );
#endif
return fDidHit;
}
#ifdef CROWBAR_IDLE_ANIM
#if CROWBAR_IDLE_ANIM
void CSwort::WeaponIdle( void )
{
if( m_flTimeWeaponIdle < UTIL_WeaponTimeBase() )

4
dlls/zx/uzi.cpp

@ -146,7 +146,7 @@ void CUZI::PrimaryAttack() @@ -146,7 +146,7 @@ void CUZI::PrimaryAttack()
Vector vecAiming = m_pPlayer->GetAutoaimVector( AUTOAIM_5DEGREES );
Vector vecDir;
#ifdef CLIENT_DLL
#if CLIENT_DLL
if( bIsMultiplayer() )
#else
if( g_pGameRules->IsMultiplayer() )
@ -162,7 +162,7 @@ void CUZI::PrimaryAttack() @@ -162,7 +162,7 @@ void CUZI::PrimaryAttack()
}
int flags;
#if defined( CLIENT_WEAPONS )
#if CLIENT_WEAPONS
flags = FEV_NOTHOST;
#else
flags = 0;

12
dlls/zx/waypoint.cpp

@ -91,7 +91,7 @@ void WaypointFree(void) @@ -91,7 +91,7 @@ void WaypointFree(void)
free(p);
p = p_next;
#ifdef _DEBUG
#if _DEBUG
count++;
if (count > 1000) WaypointDebug();
#endif
@ -174,7 +174,7 @@ void WaypointAddPath(short int add_index, short int path_index) @@ -174,7 +174,7 @@ void WaypointAddPath(short int add_index, short int path_index)
prev = p; // save the previous node in linked list
p = p->next; // go to next node in linked list
#ifdef _DEBUG
#if _DEBUG
count++;
if (count > 100) WaypointDebug();
#endif
@ -230,7 +230,7 @@ void WaypointDeletePath(short int del_index) @@ -230,7 +230,7 @@ void WaypointDeletePath(short int del_index)
p = p->next; // go to next node in linked list
#ifdef _DEBUG
#if _DEBUG
count++;
if (count > 100) WaypointDebug();
#endif
@ -264,7 +264,7 @@ void WaypointDeletePath(short int path_index, short int del_index) @@ -264,7 +264,7 @@ void WaypointDeletePath(short int path_index, short int del_index)
p = p->next; // go to next node in linked list
#ifdef _DEBUG
#if _DEBUG
count++;
if (count > 100) WaypointDebug();
#endif
@ -322,7 +322,7 @@ int WaypointFindPath(PATH **pPath, int *path_index, int waypoint_index, int team @@ -322,7 +322,7 @@ int WaypointFindPath(PATH **pPath, int *path_index, int waypoint_index, int team
*pPath = (*pPath)->next; // go to next node in linked list
#ifdef _DEBUG
#if _DEBUG
count++;
if (count > 100) WaypointDebug();
#endif
@ -1135,7 +1135,7 @@ void WaypointDelete(edict_t *pEntity) @@ -1135,7 +1135,7 @@ void WaypointDelete(edict_t *pEntity)
free(p);
p = p_next;
#ifdef _DEBUG
#if _DEBUG
count++;
if (count > 100) WaypointDebug();
#endif

Loading…
Cancel
Save