mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-18 23:11:38 +00:00
beginnings of qtv support
This commit is contained in:
parent
d2a2ac036e
commit
f52b4e8aec
1 changed files with 8 additions and 2 deletions
|
@ -706,7 +706,7 @@ SVC_GetChallenge (void)
|
|||
}
|
||||
|
||||
if (sv_extensions->int_val) {
|
||||
extended = " QF";
|
||||
extended = " QF qtv";
|
||||
}
|
||||
|
||||
// send it to the client
|
||||
|
@ -775,7 +775,13 @@ SVC_DirectConnect (void)
|
|||
if (CheckForFlood (FLOOD_CONNECT))
|
||||
return;
|
||||
|
||||
version = atoi (Cmd_Argv (1));
|
||||
s = Cmd_Argv (1);
|
||||
if (!strcmp (s, "qtv")) {
|
||||
SV_Printf ("QTV proxy connection: %s\n", s);
|
||||
return;
|
||||
}
|
||||
|
||||
version = atoi (s);
|
||||
if (version != PROTOCOL_VERSION) {
|
||||
Netchan_OutOfBandPrint (net_from, "%c\nServer is version %s.\n",
|
||||
A2C_PRINT, QW_VERSION);
|
||||
|
|
Loading…
Reference in a new issue