summaryrefslogtreecommitdiff
path: root/src/server/user.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2012-12-29 19:07:38 +0400
committerAndrey Nazarov <skuller@skuller.net>2012-12-29 21:36:20 +0400
commit374033c5c75725218f04390859ccf73d120d5c2c (patch)
tree6c7f400e43b45f26ed2e894d36afb7c3f30b577d /src/server/user.c
parent1e065662be8f46ffdd21ab2499f91921f4f0e9d1 (diff)
Communicate ss_broadcast state to Q2PRO clients.
Disable message triggers when playing back MVD streams. Process MVD spectator chat normally on the client so that ignore filters work. Add new minor Q2PRO protocol version 1019.
Diffstat (limited to 'src/server/user.c')
-rw-r--r--src/server/user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/user.c b/src/server/user.c
index d5ba9a2..36df361 100644
--- a/src/server/user.c
+++ b/src/server/user.c
@@ -421,7 +421,7 @@ void SV_New_f(void)
break;
case PROTOCOL_VERSION_Q2PRO:
MSG_WriteShort(sv_client->version);
- MSG_WriteByte(2); // used to be GT_DEATHMATCH
+ MSG_WriteByte(sv.state);
MSG_WriteByte(sv_client->pmp.strafehack);
MSG_WriteByte(sv_client->pmp.qwmode);
if (sv_client->version >= PROTOCOL_VERSION_Q2PRO_WATERJUMP_HACK) {