mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-17 22:50:51 +00:00
bah, thought I tested that. why dstrings were being used anyway I don't know...
This commit is contained in:
parent
246ab0009c
commit
be24d628af
1 changed files with 4 additions and 8 deletions
|
@ -317,12 +317,10 @@ C_Say (const char *line)
|
|||
{
|
||||
if (!*line)
|
||||
return;
|
||||
dstring_t *dstr = dstring_newstr ();
|
||||
dstring_appendstr (dstr, line);
|
||||
|
||||
Cbuf_AddText (con_data.cbuf, "say \"");
|
||||
Cbuf_AddText (con_data.cbuf, dstr->str);
|
||||
Cbuf_AddText (con_data.cbuf, line);
|
||||
Cbuf_AddText (con_data.cbuf, "\"\n");
|
||||
dstring_delete (dstr);
|
||||
key_dest = key_game;
|
||||
game_target = IMT_0;
|
||||
}
|
||||
|
@ -332,12 +330,10 @@ C_SayTeam (const char *line)
|
|||
{
|
||||
if (!*line)
|
||||
return;
|
||||
dstring_t *dstr = dstring_newstr ();
|
||||
dstring_appendstr (dstr, line);
|
||||
|
||||
Cbuf_AddText (con_data.cbuf, "say_team \"");
|
||||
Cbuf_AddText (con_data.cbuf, dstr->str);
|
||||
Cbuf_AddText (con_data.cbuf, line);
|
||||
Cbuf_AddText (con_data.cbuf, "\"\n");
|
||||
dstring_delete (dstr);
|
||||
key_dest = key_game;
|
||||
game_target = IMT_0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue