Updated documentation

This commit is contained in:
Aaron Traas 2017-06-29 15:13:11 -04:00 committed by Eric S. Raymond
parent ffdda21739
commit e7d1388c42

26
main.c
View file

@ -467,19 +467,19 @@ static bool dwarfmove(void)
* If the current loc is zero, it means the clown got himself killed. * If the current loc is zero, it means the clown got himself killed.
* We'll allow this maxdie times. NDEATHS is automatically set based * We'll allow this maxdie times. NDEATHS is automatically set based
* on the number of snide messages available. Each death results in * on the number of snide messages available. Each death results in
* a message (81, 83, etc.) which offers reincarnation; if accepted, * a message (obituaries[n]) which offers reincarnation; if accepted,
* this results in message 82, 84, etc. The last time, if he wants * this results in message obituaries[0], obituaries[2], etc. The
* another chance, he gets a snide remark as we exit. When * last time, if he wants another chance, he gets a snide remark as
* reincarnated, all objects being carried get dropped at game.oldlc2 * we exit. When reincarnated, all objects being carried get dropped
* (presumably the last place prior to being killed) without change * at game.oldlc2 (presumably the last place prior to being killed)
* of props. The loop runs backwards to assure that the bird is * without change of props. The loop runs backwards to assure that
* dropped before the cage. (This kluge could be changed once we're * the bird is dropped before the cage. (This kluge could be changed
* sure all references to bird and cage are done by keywords.) The * once we're sure all references to bird and cage are done by
* lamp is a special case (it wouldn't do to leave it in the cave). * keywords.) The lamp is a special case (it wouldn't do to leave it
* It is turned off and left outside the building (only if he was * in the cave). It is turned off and left outside the building (only
* carrying it, of course). He himself is left inside the building * if he was carrying it, of course). He himself is left inside the
* (and heaven help him if he tries to xyzzy back into the cave * building (and heaven help him if he tries to xyzzy back into the
* without the lamp!). game.oldloc is zapped so he can't just * cave without the lamp!). game.oldloc is zapped so he can't just
* "retreat". */ * "retreat". */
static void croak(void) static void croak(void)