From 4f66e3c57b8bb9fa2efe9bdb4711dc1603db3a1b Mon Sep 17 00:00:00 2001 From: Scott Brooks Date: Wed, 28 Aug 2002 02:06:21 +0000 Subject: [PATCH] Add SV_PURE DISABLED when connecting to a server with pure disabled. It still prints PURE SERVER when it\'s enabled, but clients may not notice it when it\'s gone. --- reaction/cgame/cg_info.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/reaction/cgame/cg_info.c b/reaction/cgame/cg_info.c index 0d4c0ebc..d84a9628 100644 --- a/reaction/cgame/cg_info.c +++ b/reaction/cgame/cg_info.c @@ -5,6 +5,9 @@ //----------------------------------------------------------------------------- // // $Log$ +// Revision 1.35 2002/08/28 02:06:21 blaze +// Add SV_PURE DISABLED when connecting to a server with pure disabled. It still prints PURE SERVER when it\'s enabled, but clients may not notice it when it\'s gone. +// // Revision 1.34 2002/06/29 04:15:15 jbravo // CTF is now CTB. no weapons while the case is in hand other than pistol or knife // @@ -357,7 +360,9 @@ void CG_DrawInformation(void) if (cg_RQ3_matchmode.integer) line = va("%s / MATCHMODE", line); - + s = Info_ValueForKey(sysInfo, "sv_pure"); + if (atoi(s) == 0) + line = va("%s / SV_PURE DISABLED", line); //Makro - custom color; changed from colorWhite //CG_DrawSmallStringColor(x, y, line, color2); CG_DrawStringExt(x, y, line, color2, qfalse, qfalse, LS_CHAR_WIDTH, LS_CHAR_HEIGHT, 0);