]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - client.h
fix "wrong ping times" issue once and for all (I don't see another fix that wouldn...
[xonotic/darkplaces.git] / client.h
index 0401a27735690b0307e95c0aae219ef4600b95c9..7a96a47568d3e0680ac33850506bde601ae2b319 100644 (file)
--- a/client.h
+++ b/client.h
@@ -355,8 +355,9 @@ typedef struct usercmd_s
        vec_t   cursor_fraction;
        int             cursor_entitynumber;
 
-       double time;
-       double receivetime;
+       double time; // time the move is executed for (cl_movement: clienttime, non-cl_movement: receivetime)
+       double receivetime; // time the move was received at
+       double clienttime; // time to which server state the move corresponds to
        int msec; // for predicted moves
        int buttons;
        int impulse;