}
drawcolorcodedstring(pos + '1 0 0' * (panel_size.x - stringwidth(str, true, sb_gameinfo_detail_fontsize)), str, sb_gameinfo_detail_fontsize, panel_fg_alpha, DRAWFLAG_NORMAL); // align right
// map name
- str = sprintf(_("^7Map: ^2%s"), shortmapname);
+ str = sprintf(_("^7Map: ^2%s"), mi_shortname);
drawcolorcodedstring(pos, str, sb_gameinfo_detail_fontsize, panel_fg_alpha, DRAWFLAG_NORMAL); // align left
}
// End of Game Info Section
{
get_mi_min_max_texcoords(1); // try the CLEVER way first
minimapname = strcat("gfx/", mi_shortname, "_radar");
- shortmapname = mi_shortname;
if (precache_pic(minimapname) == "")
{
#define player_currententnum (spectatee_status > 0 ? spectatee_status : player_localnum + 1)
-// short mapname
-string shortmapname;
-
// database for misc stuff
int tempdb;
int ClientProgsDB;
rr = CTS_RECORD;
else
rr = RACE_RECORD;
- float t = stof(db_get(ClientProgsDB, strcat(shortmapname, rr, "time")));
+ float t = stof(db_get(ClientProgsDB, strcat(mi_shortname, rr, "time")));
if(score && (score < t || !t)) {
- db_put(ClientProgsDB, strcat(shortmapname, rr, "time"), ftos(score));
+ db_put(ClientProgsDB, strcat(mi_shortname, rr, "time"), ftos(score));
if(autocvar_cl_autodemo_delete_keeprecords)
{
float f = autocvar_cl_autodemo_delete;