]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix black crosshair when in vehicle with per weapon crosshair colour enabled
authorMario <mario@smbclan.net>
Thu, 28 Jul 2016 13:37:00 +0000 (23:37 +1000)
committerMario <mario@smbclan.net>
Thu, 28 Jul 2016 13:37:00 +0000 (23:37 +1000)
qcsrc/client/view.qc

index cbce1fcb55f62c97b09eb7cc9ae340b5c62524c8..1458efe15f13563e9e869cb653c9e5c80791318c 100644 (file)
@@ -861,7 +861,7 @@ vector crosshair_getcolor(entity this, float health_stat)
        {
                case 1: // crosshair_color_per_weapon
                {
-                       if(this != WEP_Null)
+                       if(this != WEP_Null && hud == HUD_NORMAL)
                        {
                                wcross_color = this.wpcolor;
                                break;