Document execute()'s subtle use of player->aborted

This commit is contained in:
Markus Armbruster 2012-03-18 19:07:47 +01:00
parent a1003ea7da
commit f802630fa3

View file

@ -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) {