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.
This commit is contained in:
Bill Currie 2002-04-19 21:18:25 +00:00
parent ef81af9245
commit 1ff8c715b9
2 changed files with 2 additions and 0 deletions

View file

@ -1044,6 +1044,7 @@ SV_ConnectionlessPacket (void)
s = MSG_ReadString (net_message);
Cmd_TokenizeString (s, true);
Cmd_Process ();
c = Cmd_Argv (0);

View file

@ -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);