mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2024-11-22 03:41:27 +00:00
svc_disconnect gives an 'End of demo' message in demo playback,
otherwise it's ignored.
This commit is contained in:
parent
6328a810a0
commit
e27444bea4
1 changed files with 5 additions and 5 deletions
|
@ -527,14 +527,14 @@ void CL_ConnectionlessPacket (void)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 1 // Tonik: in qwcl 2.33+, Zoid commented this out. Why?
|
|
||||||
if (c == svc_disconnect) {
|
if (c == svc_disconnect) {
|
||||||
//Tonik Con_Printf ("disconnect\n");
|
if (cls.demoplayback)
|
||||||
|
Host_EndGame ("End of demo");
|
||||||
Host_EndGame ("Server disconnected");
|
else
|
||||||
|
Con_Printf ("svc_disconnect\n");
|
||||||
|
// Host_EndGame ("Server disconnected");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
Con_Printf ("unknown: %c\n", c);
|
Con_Printf ("unknown: %c\n", c);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue