Fix for ugly 'unknown: #' messages at the end of a demo.

This commit is contained in:
Anton E. Gavrilov 2000-08-04 09:47:53 +00:00
parent 9e38c05969
commit ea7c4363ba

View file

@ -993,14 +993,14 @@ void CL_ConnectionlessPacket (void)
return; return;
} }
#if 0
if (c == svc_disconnect) { if (c == svc_disconnect) {
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);
} }