mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-18 23:11:38 +00:00
[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:
parent
94871671d2
commit
78220ff420
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue