]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Remove unused global
authorTimePath <andrew.hardaker1995@gmail.com>
Thu, 24 Dec 2015 00:06:16 +0000 (11:06 +1100)
committerTimePath <andrew.hardaker1995@gmail.com>
Thu, 24 Dec 2015 00:08:22 +0000 (11:08 +1100)
qcsrc/client/hud/hud.qh
qcsrc/client/main.qc

index 47126a7389c6c53f4fd73b6e51a546edb4b04ce5..0526fccc2aa497ef41e45d1ad1e9e1b34b2884a5 100644 (file)
@@ -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;
 
index 05a11080b98bd458e22244109d06f3ded6af6c8b..5fc5374b1b774997e1a7cd0822ada229c0820225 100644 (file)
@@ -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;