Strip Weapons_PlaySound() from base

This commit is contained in:
Marco Cawthorne 2021-05-07 13:30:44 +02:00
parent df2525aae6
commit 7a9d50b4c9
2 changed files with 1 additions and 8 deletions

View file

@ -50,7 +50,7 @@ void Weapons_MakeVectors(void);
vector Weapons_GetCameraPos(void);
void Weapons_ViewAnimation(int);
void Weapons_ViewPunchAngle(vector);
void Weapons_PlaySound(entity, float, string, float, float);
void sound(entity, float, string, float, float);
int Weapons_IsPresent(player, int);
void Weapons_SetModel(string);
void Weapons_SetGeomset(string);

View file

@ -266,13 +266,6 @@ void Weapons_ViewPunchAngle(vector add)
#endif
}
void Weapons_PlaySound(entity t, float ch, string s, float vol, float at)
{
#ifdef SERVER
sound(t, ch, s, vol, at);
#endif
}
int Weapons_IsPresent(player pl, int w)
{
if (pl.g_items & g_weapons[w].id) {