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:
parent
55f788ef0d
commit
e19c431a28
2 changed files with 3 additions and 2 deletions
|
@ -181,7 +181,8 @@ void CL_ProgressDemoTime(void)
|
||||||
#define realtime demtime
|
#define realtime demtime
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (cl_demospeed.value>0)
|
|
||||||
|
if (cl_demospeed.value >= 0)
|
||||||
realtime += host_frametime*cl_demospeed.value;
|
realtime += host_frametime*cl_demospeed.value;
|
||||||
else
|
else
|
||||||
realtime += host_frametime;
|
realtime += host_frametime;
|
||||||
|
|
|
@ -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_solid_players = {"cl_solid_players", "1"};
|
||||||
cvar_t cl_noblink = {"cl_noblink", "0"};
|
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"};
|
cvar_t cl_indepphysics = {"cl_indepphysics", "0"};
|
||||||
|
|
Loading…
Reference in a new issue