mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2024-11-21 11:21:18 +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;
|
||||
}
|
||||
|
||||
#if 1 // Tonik: in qwcl 2.33+, Zoid commented this out. Why?
|
||||
if (c == svc_disconnect) {
|
||||
//Tonik Con_Printf ("disconnect\n");
|
||||
|
||||
Host_EndGame ("Server disconnected");
|
||||
if (cls.demoplayback)
|
||||
Host_EndGame ("End of demo");
|
||||
else
|
||||
Con_Printf ("svc_disconnect\n");
|
||||
// Host_EndGame ("Server disconnected");
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
Con_Printf ("unknown: %c\n", c);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue