Fix a braino that caused COM_execute_sets to work improperly.

This commit is contained in:
Brian Koropoff 2003-01-29 22:46:24 +00:00
parent 2d766710b6
commit 15687970b3

View file

@ -218,7 +218,7 @@ static void
COM_execute_sets (cbuf_t *cbuf) COM_execute_sets (cbuf_t *cbuf)
{ {
dstring_t *buf = DATA(cbuf)->buf; dstring_t *buf = DATA(cbuf)->buf;
dstring_t *line = DATA(cbuf)->buf; dstring_t *line = DATA(cbuf)->line;
while (*buf->str) { while (*buf->str) {
COM_extract_line (cbuf); COM_extract_line (cbuf);
COM_TokenizeString (line->str, cbuf->args); COM_TokenizeString (line->str, cbuf->args);