mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 01:01:33 +00:00
Reset com_flags at end of COM_BufExecute
Fixes com_flags being discarded after the first command in a chain (semicolon list).
This commit is contained in:
parent
e48786961a
commit
a39f69c9c7
1 changed files with 2 additions and 1 deletions
|
@ -264,6 +264,8 @@ void COM_BufExecute(void)
|
|||
break;
|
||||
}
|
||||
}
|
||||
|
||||
com_flags = 0;
|
||||
}
|
||||
|
||||
/** Executes a string immediately. Used for skirting around WAIT commands.
|
||||
|
@ -440,7 +442,6 @@ static void COM_TokenizeString(char *ptext)
|
|||
|
||||
com_argc = 0;
|
||||
com_args = NULL;
|
||||
com_flags = 0;
|
||||
|
||||
while (com_argc < MAX_ARGS)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue