mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-06-02 09:31:12 +00:00
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:
parent
ef81af9245
commit
1ff8c715b9
2 changed files with 2 additions and 0 deletions
|
@ -1044,6 +1044,7 @@ SV_ConnectionlessPacket (void)
|
||||||
s = MSG_ReadString (net_message);
|
s = MSG_ReadString (net_message);
|
||||||
|
|
||||||
Cmd_TokenizeString (s, true);
|
Cmd_TokenizeString (s, true);
|
||||||
|
Cmd_Process ();
|
||||||
|
|
||||||
c = Cmd_Argv (0);
|
c = Cmd_Argv (0);
|
||||||
|
|
||||||
|
|
|
@ -1241,6 +1241,7 @@ SV_ExecuteUserCommand (const char *s)
|
||||||
ucmd_t cmd;
|
ucmd_t cmd;
|
||||||
|
|
||||||
Cmd_TokenizeString (s, true);
|
Cmd_TokenizeString (s, true);
|
||||||
|
Cmd_Process ();
|
||||||
sv_player = host_client->edict;
|
sv_player = host_client->edict;
|
||||||
cmd.name = Cmd_Argv(0);
|
cmd.name = Cmd_Argv(0);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue