summaryrefslogtreecommitdiff
path: root/source/mvd_parse.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2008-10-01 13:13:25 +0000
committerAndrey Nazarov <skuller@skuller.net>2008-10-01 13:13:25 +0000
commit3544752417431e55fab8226318e985d1b97cfb32 (patch)
tree79b1b9a89b2fa850248ac38f38c7b9d3fecf2d93 /source/mvd_parse.c
parent328163a3d1f53e574c2ca312b3f61552e102e984 (diff)
Stubbed out more client stuff from dedicated server build.
Dedicated server now properly handles `wait' console command.
Diffstat (limited to 'source/mvd_parse.c')
-rw-r--r--source/mvd_parse.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/source/mvd_parse.c b/source/mvd_parse.c
index 0de9a47..4a8a336 100644
--- a/source/mvd_parse.c
+++ b/source/mvd_parse.c
@@ -25,10 +25,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "sv_local.h"
#include "mvd_local.h"
-#define MVD_ShowSVC( cmd ) do { \
+#define MVD_ShowSVC( cmd ) \
Com_Printf( "%3"PRIz":%s\n", msg_read.readcount - 1, \
- MVD_ServerCommandString( cmd ) ); \
- } while( 0 )
+ MVD_ServerCommandString( cmd ) )
static const char mvd_strings[mvd_num_types][20] = {
"mvd_bad",
@@ -52,7 +51,7 @@ static const char mvd_strings[mvd_num_types][20] = {
"mvd_stufftext"
};
-const char *MVD_ServerCommandString( int cmd ) {
+static const char *MVD_ServerCommandString( int cmd ) {
const char *s;
if( cmd == -1 ) {