From 26a2ba193ee3d93421f9fd50f25534031cd0f456 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sat, 3 Jun 2006 18:23:09 +0000 Subject: Stop sending data to the server when a connection drops. Print a message to the console as well. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 557 --- src/net_client.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/net_client.c b/src/net_client.c index 4116e8fc..7956f73f 100644 --- a/src/net_client.c +++ b/src/net_client.c @@ -1,7 +1,7 @@ // Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // -// $Id: net_client.c 475 2006-05-05 19:49:34Z fraggle $ +// $Id: net_client.c 557 2006-06-03 18:23:09Z fraggle $ // // Copyright(C) 2005 Simon Howard // @@ -308,6 +308,7 @@ static void NET_CL_Disconnected(void) // disconnected from server players[consoleplayer].message = "Disconnected from server"; + printf("Disconnected from server.\n"); for (i=0; i