Get rid of Weapons_PlaySound(), it's obsolete.

This commit is contained in:
Marco Cawthorne 2021-04-03 14:39:16 +02:00
parent 32dff220ec
commit 07090c5780
2 changed files with 0 additions and 8 deletions

View file

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

View file

@ -278,13 +278,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) {