git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12803
d7cf8633-e32d-0410-b094-
e92efae38249
R_TimeReport("servernetwork");
}
+ // if there is some time remaining from this frame, reset the timer
+ if (sv_timer >= 0)
+ {
+ if (!svs.threaded)
+ svs.perf_acc_lost += sv_timer;
+ sv_timer = 0;
+ }
+
//-------------------
//
// client operations
}
}
+ // if there is some time remaining from this frame, reset the timer
+ if (cl_timer >= 0)
+ cl_timer = 0;
+
#if MEMPARANOIA
Mem_CheckSentinelsGlobal();
#else
Mem_CheckSentinelsGlobal();
#endif
- // if there is some time remaining from this frame, reset the timers
- if (cl_timer >= 0)
- cl_timer = 0;
- if (sv_timer >= 0)
- {
- if (!svs.threaded)
- svs.perf_acc_lost += sv_timer;
- sv_timer = 0;
- }
-
host.framecount++;
}