depending on whether the server is running (previously when playing
online it would execute them on every main loop, which could mess up the
timing of multiple impulses in sequence)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8378
d7cf8633-e32d-0410-b094-
e92efae38249
// when a server is running we only execute console commands on server frames
// (this mainly allows frikbot .way config files to work properly by staying in sync with the server qc)
- // otherwise we execute them on all frames
- if (sv_timer > 0 || !sv.active)
+ // otherwise we execute them on client frames
+ if (sv.active ? sv_timer > 0 : cl_timer > 0)
{
// process console commands
Cbuf_Execute();