From: terencehill Date: Thu, 18 Nov 2010 11:32:11 +0000 (+0100) Subject: Different ammo count for each ammo type in hud_configure mode X-Git-Tag: xonotic-v0.5.0~408 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=de1a21763146063b334e7084fc609f0b3b3550f9;p=xonotic%2Fxonotic-data.pk3dir.git Different ammo count for each ammo type in hud_configure mode --- diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index e188604eb..fddd17584 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -1873,7 +1873,7 @@ void DrawAmmoItem(vector myPos, vector mySize, float itemcode, float currently_s if(autocvar__hud_configure) { currently_selected = (itemcode == 2); //rockets always selected - a = 100; + a = 31 + mod(itemcode*93, 128); } else a = getstati(GetAmmoStat(itemcode)); // how much ammo do we have of type itemcode?