From 1ff8c715b965bd3339bc7b057fb6ca5b628ebc7c Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Fri, 19 Apr 2002 21:18:25 +0000 Subject: [PATCH] currently, Cmd_Process needs to be called after Cmd_TokenizeString, even for legacy buffers. I'm not terribly happy with this, but it fixes the broken "say" problem. --- qw/source/sv_main.c | 1 + qw/source/sv_user.c | 1 + 2 files changed, 2 insertions(+) diff --git a/qw/source/sv_main.c b/qw/source/sv_main.c index 7389965d2..acef1ae1e 100644 --- a/qw/source/sv_main.c +++ b/qw/source/sv_main.c @@ -1044,6 +1044,7 @@ SV_ConnectionlessPacket (void) s = MSG_ReadString (net_message); Cmd_TokenizeString (s, true); + Cmd_Process (); c = Cmd_Argv (0); diff --git a/qw/source/sv_user.c b/qw/source/sv_user.c index a071d914d..61882493d 100644 --- a/qw/source/sv_user.c +++ b/qw/source/sv_user.c @@ -1241,6 +1241,7 @@ SV_ExecuteUserCommand (const char *s) ucmd_t cmd; Cmd_TokenizeString (s, true); + Cmd_Process (); sv_player = host_client->edict; cmd.name = Cmd_Argv(0);