make "wait" work again.

This commit is contained in:
Bill Currie 2003-02-03 16:05:53 +00:00
parent 963fa8ef98
commit 06dc22af3d

View file

@ -206,7 +206,7 @@ COM_execute (cbuf_t *cbuf)
{
dstring_t *buf = DATA(cbuf)->buf;
dstring_t *line = DATA(cbuf)->line;
while (*buf->str) {
while (cbuf->state == CBUF_STATE_NORMAL && *buf->str) {
COM_extract_line (cbuf);
COM_TokenizeString (line->str, cbuf->args);
if (cbuf->args->argc)