From: Mario Date: Wed, 5 Sep 2018 19:35:14 +0000 (+1000) Subject: Remove an unnecessary ammo check X-Git-Tag: xonotic-v0.8.5~1897^2~5 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f7a0bf7eaf1b942ca955c2626a650d5ba02b6a26;p=xonotic%2Fxonotic-data.pk3dir.git Remove an unnecessary ammo check --- diff --git a/qcsrc/common/notifications/all.qh b/qcsrc/common/notifications/all.qh index 5a2adba1c..fda5d9355 100644 --- a/qcsrc/common/notifications/all.qh +++ b/qcsrc/common/notifications/all.qh @@ -626,8 +626,6 @@ string notif_arg_spree_inf(float type, string input, string player, float spree) string notif_arg_item_wepammo(float f1, float f2) { - if(f2 <= 0) - return ""; string ammoitems = ""; Weapon wep = Weapons_from(f1); switch (wep.ammo_type)