From: cloudwalk Date: Mon, 29 Mar 2021 20:55:14 +0000 (+0000) Subject: protocol: Make receivetime a float since it's derived from sv.time casted to float... X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=commitdiff_plain;h=32c804dfbca9495b8d4bd40d07f289f8c890d813 protocol: Make receivetime a float since it's derived from sv.time casted to float anyway From bones_was_here git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@13104 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/protocol.h b/protocol.h index e637ea54..da32ab78 100644 --- a/protocol.h +++ b/protocol.h @@ -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) - 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;