Switch fully over to YAML generation of condition bits. COND is gone.
This commit is contained in:
parent
537c4511e2
commit
7f7f49b739
6 changed files with 27 additions and 20 deletions
2
main.c
2
main.c
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue