From: TimePath Date: Thu, 24 Dec 2015 00:06:16 +0000 (+1100) Subject: Remove unused global X-Git-Tag: xonotic-v0.8.2~1438 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5fe9a385a3b22536e129f6e2cb9882826bd24825;p=xonotic%2Fxonotic-data.pk3dir.git Remove unused global --- 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;