]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - client.h
client: Improve input packet timing (netfps)
[xonotic/darkplaces.git] / client.h
index b4e8eb7a3b7df2a167045cd0b21784d5770d89ce..67262d7c2990c2f3073497525b28b351e41dcf17 100644 (file)
--- a/client.h
+++ b/client.h
@@ -1041,8 +1041,8 @@ typedef struct client_state_s
        // use cl.scores[cl.playerentity-1].qw_spectator instead
        //qbool qw_spectator;
 
-       // last time an input packet was sent
-       double lastpackettime;
+       // time accumulated since an input packet was sent
+       float timesincepacket;
 
        // movement parameters for client prediction
        unsigned int moveflags;