From 78220ff42054d2afa48038ed473edd2edf9615de Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Mon, 27 Dec 2021 18:13:44 +0900 Subject: [PATCH] [netchan] Correct type of last_received Storing a double in a float does not go well when that double starts at 4294967296. Fixes the delayed timeouts in qtv. --- include/netchan.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/netchan.h b/include/netchan.h index 2ef30d896..a71902f64 100644 --- a/include/netchan.h +++ b/include/netchan.h @@ -229,7 +229,7 @@ typedef enum { typedef struct netchan_s { qboolean fatal_error; ///< True if the message overflowed - float last_received; ///< Time the last packet was received. + double last_received; ///< Time the last packet was received. /// \name statistics /// the statistics are cleared at each client begin, because