From 5fe9a385a3b22536e129f6e2cb9882826bd24825 Mon Sep 17 00:00:00 2001 From: TimePath Date: Thu, 24 Dec 2015 11:06:16 +1100 Subject: [PATCH] Remove unused global --- qcsrc/client/hud/hud.qh | 1 - qcsrc/client/main.qc | 2 -- 2 files changed, 3 deletions(-) diff --git a/qcsrc/client/hud/hud.qh b/qcsrc/client/hud/hud.qh index 47126a738..0526fccc2 100644 --- a/qcsrc/client/hud/hud.qh +++ b/qcsrc/client/hud/hud.qh @@ -70,7 +70,6 @@ float scoreboard_bottom; int weapon_accuracy[Weapons_MAX]; int complain_weapon; -string complain_weapon_name; float complain_weapon_type; float complain_weapon_time; diff --git a/qcsrc/client/main.qc b/qcsrc/client/main.qc index 05a11080b..5fc5374b1 100644 --- a/qcsrc/client/main.qc +++ b/qcsrc/client/main.qc @@ -1099,8 +1099,6 @@ NET_HANDLE(TE_CSQC_PINGPLREPORT, bool isNew) NET_HANDLE(TE_CSQC_WEAPONCOMPLAIN, bool isNew) { complain_weapon = ReadByte(); - if (complain_weapon_name) strunzone(complain_weapon_name); - complain_weapon_name = strzone(Weapons_from(complain_weapon).m_name); complain_weapon_type = ReadByte(); return = true; -- 2.39.2