]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
protocol: Make receivetime a float since it's derived from sv.time casted to float...
authorcloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 29 Mar 2021 20:55:14 +0000 (20:55 +0000)
committercloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 29 Mar 2021 20:55:14 +0000 (20:55 +0000)
From bones_was_here

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@13104 d7cf8633-e32d-0410-b094-e92efae38249

protocol.h

index e637ea542ae8aa9303c47ad6a42ebb48c9ad2843..da32ab782d1b67e9edeb525e0b4b63684d33c5de 100644 (file)
@@ -389,7 +389,7 @@ typedef struct usercmd_s
        int             cursor_entitynumber;
 
        double time; // time the move is executed for (non-cl_movement is executed at receivetime)
        int             cursor_entitynumber;
 
        double time; // time the move is executed for (non-cl_movement is executed at receivetime)
-       double receivetime; // time the move was received at (used for ping)
+       float receivetime; // time the move was received at (used for ping)
        int msec; // for predicted moves
        int buttons;
        int impulse;
        int msec; // for predicted moves
        int buttons;
        int impulse;