forked from fte/fteqw
1
0
Fork 0

allow cl_demospeed 0

set cl_demospeed default to 1


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1732 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
TimeServ 2005-12-21 07:10:48 +00:00
parent 55f788ef0d
commit e19c431a28
2 changed files with 3 additions and 2 deletions

View File

@ -181,7 +181,8 @@ void CL_ProgressDemoTime(void)
#define realtime demtime
return;
}
if (cl_demospeed.value>0)
if (cl_demospeed.value >= 0)
realtime += host_frametime*cl_demospeed.value;
else
realtime += host_frametime;

View File

@ -71,7 +71,7 @@ cvar_t cl_predict_players2 = {"cl_predict_players2", "1"};
cvar_t cl_solid_players = {"cl_solid_players", "1"};
cvar_t cl_noblink = {"cl_noblink", "0"};
cvar_t cl_demospeed = {"cl_demospeed", "0"};
cvar_t cl_demospeed = {"cl_demospeed", "1"};
cvar_t cl_indepphysics = {"cl_indepphysics", "0"};