engine: few more cases of missing newline in Cbuf_AddText that I forgot to include in previous commit

This commit is contained in:
Alibek Omarov
2025-10-16 04:56:49 +05:00
parent d8dcfc0ab3
commit 4c7e37d5fd

View File

@@ -294,7 +294,7 @@ static screenfade_t *pfnRefGetScreenFade( void )
static qboolean R_Init_Video_( const int type )
{
host.apply_opengl_config = true;
Cbuf_AddTextf( "exec %s.cfg", ref.dllFuncs.R_GetConfigName());
Cbuf_AddTextf( "exec %s.cfg\n", ref.dllFuncs.R_GetConfigName());
Cbuf_Execute();
host.apply_opengl_config = false;
@@ -717,7 +717,7 @@ qboolean R_Init( void )
Cvar_Get( "cl_himodels", "1", FCVAR_ARCHIVE, "draw high-resolution player models in multiplayer" );
// cvars are created, execute video config
Cbuf_AddText( "exec video.cfg" );
Cbuf_AddText( "exec video.cfg\n" );
Cbuf_Execute();
// Set screen resolution and fullscreen mode if passed in on command line.