summaryrefslogtreecommitdiff
path: root/source/sv_user.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/sv_user.c')
-rw-r--r--source/sv_user.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/sv_user.c b/source/sv_user.c
index 5b4f221..87fbf3f 100644
--- a/source/sv_user.c
+++ b/source/sv_user.c
@@ -20,7 +20,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
// sv_user.c -- server code for moving users
#include "sv_local.h"
-#include "mvd_local.h"
edict_t *sv_player;
@@ -208,10 +207,12 @@ static void write_compressed_gamestate( void ) {
return;
}
+#if USE_CLIENT
if( sv_debug_send->integer ) {
Com_Printf( S_COLOR_BLUE"%s: comp: %lu into %lu\n",
sv_client->name, svs.z.total_in, svs.z.total_out );
}
+#endif
patch[0] = svs.z.total_out & 255;
patch[1] = ( svs.z.total_out >> 8 ) & 255;
@@ -226,10 +227,12 @@ static inline int z_flush( byte *buffer ) {
return ret;
}
+#if USE_CLIENT
if( sv_debug_send->integer ) {
Com_Printf( S_COLOR_BLUE"%s: comp: %lu into %lu\n",
sv_client->name, svs.z.total_in, svs.z.total_out );
}
+#endif
MSG_WriteByte( svc_zpacket );
MSG_WriteShort( svs.z.total_out );