From 07090c57802094029ddf60b8f6e5474aceb30d00 Mon Sep 17 00:00:00 2001 From: Marco Hladik Date: Sat, 3 Apr 2021 14:39:16 +0200 Subject: [PATCH] Get rid of Weapons_PlaySound(), it's obsolete. --- src/shared/weapon_common.h | 1 - src/shared/weapon_common.qc | 7 ------- 2 files changed, 8 deletions(-) diff --git a/src/shared/weapon_common.h b/src/shared/weapon_common.h index ca592f1..77facff 100644 --- a/src/shared/weapon_common.h +++ b/src/shared/weapon_common.h @@ -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); diff --git a/src/shared/weapon_common.qc b/src/shared/weapon_common.qc index 8d0b9cd..a87ae66 100644 --- a/src/shared/weapon_common.qc +++ b/src/shared/weapon_common.qc @@ -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) {