]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/hud.qc
Since accuracy colors aren't used exclusively by the HUD weapons panel, rename hud_pa...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / hud.qc
index 2d7d8732b269468156b4470e0934756af371a779..c5aab4eb6a15d00957a1aa33e2525ecfaddfe883 100644 (file)
@@ -1706,7 +1706,7 @@ void HUD_Weapons(void)
                weapon_fired[weapon_number-WEP_FIRST] = floor(weapon_stats / 64);
                if (acc_col_x[0] == -1)
                        for (i = 0; i < acc_levels; ++i)
-                               acc_col[i] = stov(cvar_string(strcat("hud_panel_weapons_accuracy_color", ftos(i))));
+                               acc_col[i] = stov(cvar_string(strcat("accuracy_color", ftos(i))));
        }
 
        float weapons_st = getstati(STAT_WEAPONS);