aboutsummaryrefslogtreecommitdiff
path: root/dat.h
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2023-06-05 21:21:56 +0000
committerrodri <rgl@antares-labs.eu>2023-06-05 21:21:56 +0000
commit650a361f5a04e4fc39ade90459d280d227875cb1 (patch)
tree2d97defc243ce642522acd6a2f388574e1d66e24 /dat.h
parent9c20abc1ab976cab00040a32299896dc8ea71e6c (diff)
downloadmusw-650a361f5a04e4fc39ade90459d280d227875cb1.tar.gz
musw-650a361f5a04e4fc39ade90459d280d227875cb1.tar.bz2
musw-650a361f5a04e4fc39ade90459d280d227875cb1.zip
use a queue for player input to dampen race conditions between the netcode and the sims.
Diffstat (limited to 'dat.h')
-rw-r--r--dat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dat.h b/dat.h
index 024c1c9..0615d6a 100644
--- a/dat.h
+++ b/dat.h
@@ -213,6 +213,7 @@ struct Player
{
char *name;
NetConn *conn;
+ Channel *inputq;
ulong oldkdown, kdown;
Player *next;
};