Add explanatory comment.
This commit is contained in:
parent
2dd1ccc535
commit
71abcb4e65
1 changed files with 2 additions and 0 deletions
|
@ -194,6 +194,7 @@ static phase_codes_t bigwords(vocab_t id)
|
||||||
{
|
{
|
||||||
int foobar = abs(game.foobar);
|
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)) {
|
if ((foobar == WORD_EMPTY) && (id == FIE || id == FOE || id == FOO || id == FUM)) {
|
||||||
rspeak(NOTHING_HAPPENS);
|
rspeak(NOTHING_HAPPENS);
|
||||||
return GO_CLEAROBJ;
|
return GO_CLEAROBJ;
|
||||||
|
@ -229,6 +230,7 @@ static phase_codes_t bigwords(vocab_t id)
|
||||||
return GO_CLEAROBJ;
|
return GO_CLEAROBJ;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
/* Magic-word sequebce was started but is incorrect */
|
||||||
rspeak(START_OVER);
|
rspeak(START_OVER);
|
||||||
game.foobar = WORD_EMPTY;
|
game.foobar = WORD_EMPTY;
|
||||||
return GO_CLEAROBJ;
|
return GO_CLEAROBJ;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue