string pic;
pic = strcat(hud_skin_path, "/", autocvar_hud_dock);
if(precache_pic(pic) == "") {
- pic = "gfx/hud/default/dock_medium";
+ pic = strcat(hud_skin_path, "/dock_medium");
+ if(precache_pic(pic) == "") {
+ pic = "gfx/hud/default/dock_medium";
+ }
}
drawpic('0 0 0', pic, eX * vid_conwidth + eY * vid_conheight, color, autocvar_hud_dock_alpha * hud_fade_alpha, DRAWFLAG_NORMAL); // no aspect ratio forcing on dock...
}
me.TD(me, 1, 2.6, e = makeXonoticTextSlider("hud_dock"));
e.addValue(e, "Disable", "0");
e.addValue(e, "Small", "dock_small");
- e.addValue(e, "Medium", "dock");
+ e.addValue(e, "Medium", "dock_medium");
e.addValue(e, "Large", "dock_large");
e.configureXonoticTextSliderValues(e);
me.TR(me);