From e27444bea484279419e0411691e17fa57fbce374 Mon Sep 17 00:00:00 2001 From: "Anton E. Gavrilov" Date: Fri, 4 Aug 2000 09:54:13 +0000 Subject: [PATCH] svc_disconnect gives an 'End of demo' message in demo playback, otherwise it's ignored. --- common/cl_main.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/common/cl_main.c b/common/cl_main.c index 982728b..995a1b7 100644 --- a/common/cl_main.c +++ b/common/cl_main.c @@ -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); }