From: cloudwalk Date: Wed, 15 Jul 2020 14:59:07 +0000 (+0000) Subject: Save cl_maxfps_alwayssleep changes to config X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=9746d6f09e7e1586311a33c0e8d026be99a91014;p=xonotic%2Fdarkplaces.git Save cl_maxfps_alwayssleep changes to config git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12819 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/host.c b/host.c index 55bd6fec..3aa2b8db 100644 --- a/host.c +++ b/host.c @@ -61,7 +61,7 @@ cvar_t cl_minfps_qualityhysteresis = {CVAR_CLIENT | CVAR_SAVE, "cl_minfps_qualit cvar_t cl_minfps_qualitystepmax = {CVAR_CLIENT | CVAR_SAVE, "cl_minfps_qualitystepmax", "0.1", "maximum quality change in a single frame"}; cvar_t cl_minfps_force = {CVAR_CLIENT, "cl_minfps_force", "0", "also apply quality reductions in timedemo/capturevideo"}; cvar_t cl_maxfps = {CVAR_CLIENT | CVAR_SAVE, "cl_maxfps", "0", "maximum fps cap, 0 = unlimited, if game is running faster than this it will wait before running another frame (useful to make cpu time available to other programs)"}; -cvar_t cl_maxfps_alwayssleep = {CVAR_CLIENT, "cl_maxfps_alwayssleep","1", "gives up some processing time to other applications each frame, value in milliseconds, disabled if cl_maxfps is 0"}; +cvar_t cl_maxfps_alwayssleep = {CVAR_CLIENT | CVAR_SAVE, "cl_maxfps_alwayssleep","1", "gives up some processing time to other applications each frame, value in milliseconds, disabled if cl_maxfps is 0"}; cvar_t cl_maxidlefps = {CVAR_CLIENT | CVAR_SAVE, "cl_maxidlefps", "20", "maximum fps cap when the game is not the active window (makes cpu time available to other programs"}; cvar_t developer = {CVAR_CLIENT | CVAR_SERVER | CVAR_SAVE, "developer","0", "shows debugging messages and information (recommended for all developers and level designers); the value -1 also suppresses buffering and logging these messages"};