]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
For a low ammo count, use slightly brighter red for better visibility. For infinity...
authorSeverin Meyer <sev.ch@web.de>
Sun, 18 Jan 2015 23:40:25 +0000 (00:40 +0100)
committerSeverin Meyer <sev.ch@web.de>
Sun, 18 Jan 2015 23:40:25 +0000 (00:40 +0100)
qcsrc/client/hud.qc

index c15f1c47ee962feb506b110f628c79ae75df472e..53cd34ee1696f0f4a0441d1f623748cd6cb46b0f 100644 (file)
@@ -919,11 +919,11 @@ void DrawAmmoItem(vector myPos, vector mySize, .float ammoType, float isCurrent,
        vector iconColor = isShadowed ? '0 0 0' : '1 1 1';
        vector textColor;
        if(isInfinite)
-               textColor = '0 0.5 0.75';
+               textColor = '0.2 0.95 0';
        else if(isShadowed)
                textColor = '0 0 0';
        else if(ammo < 10)
-               textColor = '0.7 0 0';
+               textColor = '0.8 0.04 0';
        else
                textColor = '1 1 1';