From 32c804dfbca9495b8d4bd40d07f289f8c890d813 Mon Sep 17 00:00:00 2001 From: cloudwalk Date: Mon, 29 Mar 2021 20:55:14 +0000 Subject: [PATCH] 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 --- protocol.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2