mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 22:31:05 +00:00
[qwaq] Continue processing on void commands
If the last command in the buffer had no parameters, its length would be only 2 and thus processing would stop before reading the command from the buffer.
This commit is contained in:
parent
fa66e9fc2f
commit
a0c4d56668
1 changed files with 1 additions and 1 deletions
|
@ -513,7 +513,7 @@ cmd_wbkgd (qwaq_resources_t *res)
|
|||
static void
|
||||
process_commands (qwaq_resources_t *res)
|
||||
{
|
||||
while (RB_DATA_AVAILABLE (res->command_queue) > 2) {
|
||||
while (RB_DATA_AVAILABLE (res->command_queue) >= 2) {
|
||||
switch ((qwaq_commands) RB_PEEK_DATA (res->command_queue, 0)) {
|
||||
case qwaq_cmd_newwin:
|
||||
cmd_newwin (res);
|
||||
|
|
Loading…
Reference in a new issue