\r
if(bg > 0)\r
{\r
- R_BeginPolygon("gfx/hud/bg_radar.tga", 0);\r
+ R_BeginPolygon(strcat("gfx/hud/", cvar_string("hud_style"), "/bg_radar.tga"), 0);\r
R_PolygonVertex(pos1, yinvert('0 1 0'), '1 1 1', bg);\r
R_PolygonVertex(pos2, yinvert('1 1 0'), '1 1 1', bg);\r
R_PolygonVertex(pos3, yinvert('1 0 0'), '1 1 1', bg);\r
\r
if(fg > 0)\r
{\r
- R_BeginPolygon("gfx/hud/fg_radar.tga", 0);\r
+ R_BeginPolygon(strcat("gfx/hud/", cvar_string("hud_style"), "/fg_radar.tga"), 0);\r
R_PolygonVertex(pos1, yinvert('0 1 0'), '1 1 1', fg);\r
R_PolygonVertex(pos2, yinvert('1 1 0'), '1 1 1', fg);\r
R_PolygonVertex(pos3, yinvert('1 0 0'), '1 1 1', fg);\r
R_PolygonVertex(pos4, yinvert('0 0 0'), '1 1 1', fg);\r
R_EndPolygon();\r
\r
- R_BeginPolygon("gfx/hud/fg_radar_team.tga", 0);\r
+ R_BeginPolygon(strcat("gfx/hud/", cvar_string("hud_style"), "/fg_radar_team.tga"), 0);\r
R_PolygonVertex(pos1, yinvert('0 1 0'), rgb, fg);\r
R_PolygonVertex(pos2, yinvert('1 1 0'), rgb, fg);\r
R_PolygonVertex(pos3, yinvert('1 0 0'), rgb, fg);\r