Switch fully over to YAML generation of condition bits. COND is gone.

This commit is contained in:
Eric S. Raymond 2017-06-22 17:28:39 -04:00
parent 537c4511e2
commit 7f7f49b739
6 changed files with 27 additions and 20 deletions

2
main.c
View file

@ -188,7 +188,7 @@ static bool fallback_handler(char *buf)
* notes). */
static void checkhints(void)
{
if (COND[game.loc] >= game.conds) {
if (conditions[game.loc] >= game.conds) {
for (int hint = 0; hint < HINT_COUNT; hint++) {
if (game.hinted[hint])
continue;