Browse Source

#ifdef->#if.

echoes
Andrey Akhmichin 4 years ago
parent
commit
0ad0c28f79
  1. 2
      cl_dll/hl/hl_weapons.cpp
  2. 4
      dlls/weapons.h

2
cl_dll/hl/hl_weapons.cpp

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

4
dlls/weapons.h

@ -217,7 +217,7 @@ class CBasePlayerItem : public CBaseAnimating @@ -217,7 +217,7 @@ class CBasePlayerItem : public CBaseAnimating
public:
virtual void SetObjectCollisionBox( void );
#ifndef CLIENT_DLL // AJH for lockable weapons
#if !CLIENT_DLL // AJH for lockable weapons
virtual void KeyValue( KeyValueData* pkvd);
#endif
virtual int Save( CSave &save );
@ -267,7 +267,7 @@ public: @@ -267,7 +267,7 @@ public:
CBasePlayerItem *m_pNext;
int m_iId; // WEAPON_???
#ifndef CLIENT_DLL//AJH Test Debug
#if !CLIENT_DLL//AJH Test Debug
virtual void Spawn();
#endif//AJH
virtual int iItemSlot( void )

Loading…
Cancel
Save