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;
}
#if 0
if (c == svc_disconnect) {
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);
}