summaryrefslogtreecommitdiff
path: root/src/d_net.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/d_net.c')
-rw-r--r--src/d_net.c19
1 files changed, 15 insertions, 4 deletions
diff --git a/src/d_net.c b/src/d_net.c
index 1a51c4df..5370e623 100644
--- a/src/d_net.c
+++ b/src/d_net.c
@@ -1,7 +1,7 @@
// Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
-// $Id: d_net.c 470 2006-04-14 15:25:42Z fraggle $
+// $Id: d_net.c 475 2006-05-05 19:49:34Z fraggle $
//
// Copyright(C) 1993-1996 Id Software, Inc.
// Copyright(C) 2005 Simon Howard
@@ -117,7 +117,7 @@
//-----------------------------------------------------------------------------
-static const char rcsid[] = "$Id: d_net.c 470 2006-04-14 15:25:42Z fraggle $";
+static const char rcsid[] = "$Id: d_net.c 475 2006-05-05 19:49:34Z fraggle $";
#include "doomfeatures.h"
@@ -131,6 +131,8 @@ static const char rcsid[] = "$Id: d_net.c 470 2006-04-14 15:25:42Z fraggle $";
#include "doomdef.h"
#include "doomstat.h"
+#include "deh_main.h"
+
#include "net_client.h"
#include "net_gui.h"
#include "net_io.h"
@@ -375,12 +377,21 @@ void D_CheckNetGame (void)
++num_players;
}
- printf ("startskill %i deathmatch: %i startmap: %i startepisode: %i\n",
+ printf (DEH_String("startskill %i deathmatch: %i startmap: %i startepisode: %i\n"),
startskill, deathmatch, startmap, startepisode);
- printf ("player %i of %i (%i nodes)\n",
+ printf(DEH_String("player %i of %i (%i nodes)\n"),
consoleplayer+1, num_players, num_players);
+ // Show players here; the server might have specified a time limit
+
+ if (timelimit > 0)
+ {
+ printf(DEH_String("Levels will end after %d minute"),timelimit);
+ if (timelimit > 1)
+ printf("s");
+ printf(".\n");
+ }
}