From: Eric S. Raymond Date: Mon, 3 Apr 2023 13:42:55 +0000 (-0400) Subject: Add explanatory comment. X-Git-Tag: 1.15~4 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=71abcb4e650191977a679d86549d28a69f8feb1d;p=open-adventure.git Add explanatory comment. --- diff --git a/actions.c b/actions.c index 05c59d5..27364b7 100644 --- a/actions.c +++ b/actions.c @@ -194,6 +194,7 @@ static phase_codes_t bigwords(vocab_t id) { int foobar = abs(game.foobar); + /* Only FEE can start a magic-word sequence. */ if ((foobar == WORD_EMPTY) && (id == FIE || id == FOE || id == FOO || id == FUM)) { rspeak(NOTHING_HAPPENS); return GO_CLEAROBJ; @@ -229,6 +230,7 @@ static phase_codes_t bigwords(vocab_t id) return GO_CLEAROBJ; } } else { + /* Magic-word sequebce was started but is incorrect */ rspeak(START_OVER); game.foobar = WORD_EMPTY; return GO_CLEAROBJ;