From: Severin Meyer Date: Sun, 18 Jan 2015 23:12:55 +0000 (+0100) Subject: Never black out the current ammo, even if empty. A red zero is easier to see and... X-Git-Tag: xonotic-v0.8.1~156^2~4 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=338b355220f08f423e570e87b865dca5bb42998b;p=xonotic%2Fxonotic-data.pk3dir.git Never black out the current ammo, even if empty. A red zero is easier to see and understand than a black item. --- diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index f9f35740b..c668e5666 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -907,7 +907,7 @@ void DrawAmmoItem(vector myPos, vector mySize, .float ammoType, float isCurrent, textPos = myPos + eX * mySize_y; } - float isShadowed = (ammo <= 0 && !isInfinite); + float isShadowed = (ammo <= 0 && !isCurrent && !isInfinite); vector iconColor = isShadowed ? '0 0 0' : '1 1 1'; vector textColor;