mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-18 02:50:33 +00:00
client: backport con_fontnum from old engine
This commit is contained in:
parent
e5e1570aed
commit
c9e4912a2a
@ -675,7 +675,9 @@ static void Con_LoadConchars( void )
|
|||||||
Con_LoadConsoleFont( i, con.chars + i );
|
Con_LoadConsoleFont( i, con.chars + i );
|
||||||
|
|
||||||
// select properly fontsize
|
// select properly fontsize
|
||||||
if( refState.width <= 640 )
|
if( con_fontnum->value >= 0 && con_fontnum->value <= CON_NUMFONTS - 1 )
|
||||||
|
fontSize = con_fontnum->value;
|
||||||
|
else if( refState.width <= 640 )
|
||||||
fontSize = 0;
|
fontSize = 0;
|
||||||
else if( refState.width >= 1280 )
|
else if( refState.width >= 1280 )
|
||||||
fontSize = 2;
|
fontSize = 2;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user