From ca0e426e72c027b8f1f0faea44132c8ed0e25e6a Mon Sep 17 00:00:00 2001 From: havoc Date: Mon, 22 Jan 2007 18:34:13 +0000 Subject: [PATCH] STAT_TOTALSECRETS and STAT_TOTALMONSTERS are now networked so deathmatch 7 mode in dpmod shows the total monsters now git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6730 d7cf8633-e32d-0410-b094-e92efae38249 --- sv_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sv_main.c b/sv_main.c index 6e03daf1..5f2a6911 100644 --- a/sv_main.c +++ b/sv_main.c @@ -1107,10 +1107,10 @@ void SV_WriteClientdataToMessage (client_t *client, prvm_edict_t *ent, sizebuf_t stats[STAT_CELLS] = (int)ent->fields.server->ammo_cells; stats[STAT_ACTIVEWEAPON] = (int)ent->fields.server->weapon; stats[STAT_VIEWZOOM] = viewzoom; + stats[STAT_TOTALSECRETS] = prog->globals.server->total_secrets; + stats[STAT_TOTALMONSTERS] = prog->globals.server->total_monsters; // the QC bumps these itself by sending svc_'s, so we have to keep them // zero or they'll be corrected by the engine - //stats[STAT_TOTALSECRETS] = prog->globals.server->total_secrets; - //stats[STAT_TOTALMONSTERS] = prog->globals.server->total_monsters; //stats[STAT_SECRETS] = prog->globals.server->found_secrets; //stats[STAT_MONSTERS] = prog->globals.server->killed_monsters; -- 2.39.2