From: FruitieX Date: Wed, 9 Jun 2010 13:53:59 +0000 (+0300) Subject: fix paths to the weapon icons X-Git-Tag: xonotic-v0.1.0preview~541^2~86 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ba9dc10f923bf1eb3808f4bfe4ceb4cce86ac4de;p=xonotic%2Fxonotic-data.pk3dir.git fix paths to the weapon icons --- diff --git a/qcsrc/client/scoreboard.qc b/qcsrc/client/scoreboard.qc index 7214cb271..1d18a0c58 100644 --- a/qcsrc/client/scoreboard.qc +++ b/qcsrc/client/scoreboard.qc @@ -954,7 +954,7 @@ vector HUD_DrawScoreboardAccuracyStats(vector pos, vector rgb, vector bg_size) weapon_alpha = 0.2 * scoreboard_alpha_fg; // weapon icon - drawpic(pos, strcat("gfx/weapons/weapon", self.netname), '1 0 0' * sbwidth * (1/weapon_cnt) + '0 1 0' * height * (2/3), '1 1 1', weapon_alpha, DRAWFLAG_NORMAL); + drawpic(pos, strcat("gfx/hud/", cvar_string("hud_skin"), "/weapon", self.netname), '1 0 0' * sbwidth * (1/weapon_cnt) + '0 1 0' * height * (2/3), '1 1 1', weapon_alpha, DRAWFLAG_NORMAL); // the accuracy if(weapon_damage) { weapons_with_stats += 1;