diff --git a/engine/client/ref_common.c b/engine/client/ref_common.c index ee85c527..fbe73e2d 100644 --- a/engine/client/ref_common.c +++ b/engine/client/ref_common.c @@ -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.