summaryrefslogtreecommitdiff
path: root/source/sv_user.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2008-01-03 18:53:17 +0000
committerAndrey Nazarov <skuller@skuller.net>2008-01-03 18:53:17 +0000
commit87573a3f6ae7400f597b74318bdaf161edfa225c (patch)
tree2e3f584b34ef1f336859f3988b4c1b67ad0c60d0 /source/sv_user.c
parent73e5deb9a608910afc79e4c4deb1ce5c0c8b37c1 (diff)
Properly announce spectators entering and leaving particular channel.
Do not allow spectators to switch channels too fast. Save target when switching between observer/following mode. Clear target when switching channels.
Diffstat (limited to 'source/sv_user.c')
-rw-r--r--source/sv_user.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/sv_user.c b/source/sv_user.c
index 11910bc..ebd5acb 100644
--- a/source/sv_user.c
+++ b/source/sv_user.c
@@ -695,7 +695,7 @@ static void SV_ShowServerinfo_f( void ) {
Cvar_BitInfo( serverinfo, CVAR_SERVERINFO );
- Com_BeginRedirect( RD_CLIENT, sv_outputbuf, SV_OUTPUTBUF_LENGTH, SV_FlushRedirect );
+ SV_BeginRedirect( RD_CLIENT );
Info_Print( serverinfo );
Com_EndRedirect();
}
@@ -784,13 +784,13 @@ static void SV_CvarResult_f( void ) {
#if USE_ANTICHEAT & 2
static void SV_AC_List_f( void ) {
- Com_BeginRedirect( RD_CLIENT, sv_outputbuf, SV_OUTPUTBUF_LENGTH, SV_FlushRedirect );
+ SV_BeginRedirect( RD_CLIENT );
AC_List_f();
Com_EndRedirect();
}
static void SV_AC_Info_f( void ) {
- Com_BeginRedirect( RD_CLIENT, sv_outputbuf, SV_OUTPUTBUF_LENGTH, SV_FlushRedirect );
+ SV_BeginRedirect( RD_CLIENT );
AC_Info_f();
Com_EndRedirect();
}