From 71abcb4e650191977a679d86549d28a69f8feb1d Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 3 Apr 2023 09:42:55 -0400 Subject: [PATCH] Add explanatory comment. --- actions.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.31.1