Browse Source

Fix client build

gravgun
mittorn 8 years ago
parent
commit
41f1b88fa6
  1. 3
      cl_dll/hl/hl_baseentity.cpp
  2. 6
      dlls/whandle.h

3
cl_dll/hl/hl_baseentity.cpp

@ -344,4 +344,7 @@ int CBasePlayerWeapon::ExtractAmmo( CBasePlayerWeapon *pWeapon ) { return 0; }
int CBasePlayerWeapon::ExtractClipAmmo( CBasePlayerWeapon *pWeapon ) { return 0; } int CBasePlayerWeapon::ExtractClipAmmo( CBasePlayerWeapon *pWeapon ) { return 0; }
void CBasePlayerWeapon::RetireWeapon( void ) { } void CBasePlayerWeapon::RetireWeapon( void ) { }
void CSoundEnt::InsertSound( int iType, const Vector &vecOrigin, int iVolume, float flDuration ) {} void CSoundEnt::InsertSound( int iType, const Vector &vecOrigin, int iVolume, float flDuration ) {}
float CBasePlayer::TouchGravGun( CBaseEntity*e, int s ) { return 0; }
void CBasePlayer::Touch( CBaseEntity * ) {}
void RadiusDamage( Vector vecSrc, entvars_t *pevInflictor, entvars_t *pevAttacker, float flDamage, float flRadius, int iClassIgnore, int bitsDamageType ){} void RadiusDamage( Vector vecSrc, entvars_t *pevInflictor, entvars_t *pevAttacker, float flDamage, float flRadius, int iClassIgnore, int bitsDamageType ){}

6
dlls/whandle.h

@ -1,7 +1,7 @@
#ifndef WHANDLE_H #ifndef WHANDLE_H
#define WHANDLE_H #define WHANDLE_H
#ifndef CLIENT_DLL
class CBasePlayerItem; class CBasePlayerItem;
@ -43,4 +43,8 @@ public:
return Get() != other.Get(); return Get() != other.Get();
} }
}; };
#else
#define EHBasePlayerItem CBasePlayerItem*
#endif
#endif #endif
Loading…
Cancel
Save