X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fclient%2Fmain.qc;h=e51adebd02c8a2ecf08f95979f94d272775d1034;hb=717defe5e02506bb5c857025d71fb605d6eb8c55;hp=d6a073a5de91d4798917c424c2f37cc8b3fd70eb;hpb=eb5aac3757e45db2f8b8a685691b51228c03f7a2;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/client/main.qc b/qcsrc/client/main.qc index d6a073a5d..e51adebd0 100644 --- a/qcsrc/client/main.qc +++ b/qcsrc/client/main.qc @@ -1228,7 +1228,7 @@ NET_HANDLE(TE_CSQC_PINGPLREPORT, bool isNew) NET_HANDLE(TE_CSQC_WEAPONCOMPLAIN, bool isNew) { int weapon_id = ReadByte(); - complain_weapon = Weapons_from(weapon_id); + complain_weapon = REGISTRY_GET(Weapons, weapon_id); complain_weapon_type = ReadByte(); return = true;