This commit is contained in:
Eric S. Raymond 2024-09-23 04:38:24 -04:00
parent 40742e112b
commit 96ad6c6245
2 changed files with 7 additions and 3 deletions

6
main.c
View file

@ -188,7 +188,8 @@ static void checkhints(void) {
return;
case 9: /* jade */
if (game.tally == 1 &&
(OBJECT_IS_STASHED(JADE) || OBJECT_IS_NOTFOUND(JADE))) {
(OBJECT_IS_STASHED(JADE) ||
OBJECT_IS_NOTFOUND(JADE))) {
break;
}
game.hints[hint].lc = 0;
@ -1275,7 +1276,8 @@ static bool do_command(void) {
if (TOTING(i) &&
(OBJECT_IS_NOTFOUND(i) ||
OBJECT_IS_STASHED(i))) {
OBJECT_STASHIFY(i, game.objects[i].prop);
OBJECT_STASHIFY(
i, game.objects[i].prop);
}
}
}