[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.
This commit is contained in:
Bill Currie 2021-12-27 18:13:44 +09:00
parent 94871671d2
commit 78220ff420

View file

@ -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