2
0
mirror of https://github.com/FWGS/hlsdk-xash3d synced 2024-11-16 23:19:49 +01:00

Fix client build

This commit is contained in:
mittorn 2017-01-21 11:55:47 +00:00
parent 1bf208cf27
commit 41f1b88fa6
2 changed files with 8 additions and 1 deletions

View File

@ -344,4 +344,7 @@ int CBasePlayerWeapon::ExtractAmmo( CBasePlayerWeapon *pWeapon ) { return 0; }
int CBasePlayerWeapon::ExtractClipAmmo( CBasePlayerWeapon *pWeapon ) { return 0; }
void CBasePlayerWeapon::RetireWeapon( void ) { }
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 ){}

View File

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