Client-Font: actually set con_textsize for the console font as well, because that makes sense to do.
This commit is contained in:
parent
e1b024e345
commit
60bbe417ab
1 changed files with 3 additions and 1 deletions
|
@ -95,7 +95,9 @@ Font_Load(string strFile, font_s &fntNew)
|
|||
string r = ftos(fntNew.vecColor[0]);
|
||||
string g = ftos(fntNew.vecColor[0]);
|
||||
string b = ftos(fntNew.vecColor[0]);
|
||||
cvar_set("gl_font", strcat(strFontPath, "?col=", r, ",", g, ",", b));
|
||||
string size = ftos((float)fntNew.iScaleY);
|
||||
cvar_set("con_textfont", strcat(strFontPath, "?col=", r, ",", g, ",", b));
|
||||
cvar_set("con_textsize", strcat("-", size));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue