From c9848cbcfcfc99560d6020b9398f9c422202f6f3 Mon Sep 17 00:00:00 2001 From: Spoike Date: Wed, 18 Aug 2010 21:58:07 +0000 Subject: [PATCH] Its silly that it always prints 'server is paused' when the console is down, so don't say anything if that's the only way its paused (still show the plaque though). git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3594 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/server/sv_user.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/engine/server/sv_user.c b/engine/server/sv_user.c index c227a7f55..dac13f65f 100644 --- a/engine/server/sv_user.c +++ b/engine/server/sv_user.c @@ -1695,7 +1695,8 @@ void SV_Begin_f (void) ClientReliableWrite_Begin (host_client, svc_setpause, 2); ClientReliableWrite_Byte (host_client, sv.paused!=0); } - SV_ClientTPrintf(host_client, PRINT_HIGH, STL_SERVERPAUSED); + if (sv.paused&~4) + SV_ClientTPrintf(host_client, PRINT_HIGH, STL_SERVERPAUSED); } if (sendangles) @@ -4287,7 +4288,8 @@ void SVNQ_Begin_f (void) ClientReliableWrite_Begin (host_client, svc_setpause, 2); ClientReliableWrite_Byte (host_client, sv.paused!=0); } - SV_ClientTPrintf(host_client, PRINT_HIGH, STL_SERVERPAUSED!=0); + if (sv.paused&~4) + SV_ClientTPrintf(host_client, PRINT_HIGH, STL_SERVERPAUSED!=0); } if (sendangles)