Prompt and taunt you after 3rd and final death

Fixed a bug where you'd not be asked about whether to be resurrected a
final time. Now you are.
This commit is contained in:
Aaron Traas 2017-07-13 14:44:55 -04:00 committed by Eric S. Raymond
parent 49d9ef1bee
commit e696fed6db
4 changed files with 77 additions and 24 deletions

4
main.c
View file

@ -487,8 +487,8 @@ static void croak(void)
* death and exit. */
rspeak(DEATH_CLOSING);
terminate(endgame);
} else if (game.numdie == NDEATHS ||
!yes(query, yes_response, arbitrary_messages[OK_MAN]))
} else if ( !yes(query, yes_response, arbitrary_messages[OK_MAN])
|| game.numdie == NDEATHS)
terminate(endgame);
else {
game.place[WATER] = game.place[OIL] = LOC_NOWHERE;