]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - host.h
Properly reset server timers and perf stats after level change
[xonotic/darkplaces.git] / host.h
diff --git a/host.h b/host.h
index 109948c581205e0eaa793a149e0ca70b0fefde4b..6c4f5f60da74afac5b1426fa0ea9d96b0543572a 100644 (file)
--- a/host.h
+++ b/host.h
@@ -23,7 +23,7 @@ typedef struct host_static_s
        unsigned int framecount; // incremented every frame, never reset (checked by Host_Error and Host_SaveConfig_f)
        double realtime; // the accumulated mainloop time since application started (with filtering), without any slowmo or clamping
        double dirtytime; // the main loop wall time for this frame, equal to Sys_DirtyTime() at the start of this host frame
-       double sleeptime; // time spent sleeping overall
+       double sleeptime; // time spent sleeping after the last frame
        qbool restless; // don't sleep
        qbool paused; // global paused state, pauses both client and server
        cmd_buf_t *cbuf;