Document execute()'s subtle use of player->aborted
This commit is contained in:
parent
a1003ea7da
commit
f802630fa3
1 changed files with 1 additions and 0 deletions
|
@ -261,6 +261,7 @@ execute(void)
|
||||||
failed = 1;
|
failed = 1;
|
||||||
} else if (dispatch(player->combuf, NULL) < 0)
|
} else if (dispatch(player->combuf, NULL) < 0)
|
||||||
failed = 1;
|
failed = 1;
|
||||||
|
/* player->aborted not reset; makes next getcommand() fail */
|
||||||
empth_yield();
|
empth_yield();
|
||||||
}
|
}
|
||||||
if (failed) {
|
if (failed) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue