diff options
Diffstat (limited to 'source/q_msg.c')
-rw-r--r-- | source/q_msg.c | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/source/q_msg.c b/source/q_msg.c index c1ca775..16985dd 100644 --- a/source/q_msg.c +++ b/source/q_msg.c @@ -2359,6 +2359,8 @@ void MSG_ParseDeltaPlayerstate_Packet( const player_state_t *from, } +#if USE_CLIENT + #define SHOWBITS( data ) \ do { Com_Printf( "%s ", data ); } while( 0 ) @@ -2437,11 +2439,8 @@ void MSG_ShowDeltaEntityBits( int bits ) { if( bits & U_SOLID ) { SHOWBITS( "solid" ); } - } -#if USE_CLIENT - void MSG_ShowDeltaPlayerstateBits_Default( int flags ) { if( flags & PS_M_TYPE ) { SHOWBITS( "pmove.pm_type" ); @@ -2502,7 +2501,6 @@ void MSG_ShowDeltaPlayerstateBits_Default( int flags ) { if( flags & PS_RDFLAGS ) { SHOWBITS( "rdflags" ); } - } void MSG_ShowDeltaPlayerstateBits_Enhanced( int flags ) { @@ -2596,8 +2594,6 @@ void MSG_ShowDeltaPlayerstateBits_Enhanced( int flags ) { } } -#endif // USE_CLIENT - void MSG_ShowDeltaPlayerstateBits_Packet( int flags ) { if( flags & PPS_M_TYPE ) { SHOWBITS( "pmove.pm_type" ); @@ -2660,8 +2656,6 @@ void MSG_ShowDeltaPlayerstateBits_Packet( int flags ) { } } -#if USE_CLIENT - void MSG_ShowDeltaUsercmdBits_Enhanced( int bits ) { if( !bits ) { SHOWBITS( "<none>" ); @@ -2687,8 +2681,6 @@ void MSG_ShowDeltaUsercmdBits_Enhanced( int bits ) { SHOWBITS( "msec" ); } -#endif // USE_CLIENT - static const char *const svc_strings[svc_num_types] = { "svc_bad", @@ -2738,6 +2730,8 @@ const char *MSG_ServerCommandString( int cmd ) { return s; } +#endif // USE_CLIENT + //=========================================================================== void SZ_TagInit( sizebuf_t *buf, void *data, size_t length, uint32_t tag ) { |