projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Address GitLab issue #56: handling of "fee fie foe foo" and "fum"
[open-adventure.git]
/
actions.c
diff --git
a/actions.c
b/actions.c
index 09f7836b616fa9727ee7235c0338ff645e1bdc77..393c74dab1e8a5ac6410d09fc26070c5019ad175 100644
(file)
--- a/
actions.c
+++ b/
actions.c
@@
-206,6
+206,8
@@
static phase_codes_t bigwords(vocab_t id)
(TOTING(EGGS) && game.loc == objects[EGGS].plac)) {
rspeak(NOTHING_HAPPENS);
return GO_CLEAROBJ;
(TOTING(EGGS) && game.loc == objects[EGGS].plac)) {
rspeak(NOTHING_HAPPENS);
return GO_CLEAROBJ;
+ } else if (id == FUM) {
+ goto fum;
} else {
/* Bring back troll if we steal the eggs back from him before
* crossing. */
} else {
/* Bring back troll if we steal the eggs back from him before
* crossing. */
@@
-222,6
+224,7
@@
static phase_codes_t bigwords(vocab_t id)
return GO_CLEAROBJ;
}
} else {
return GO_CLEAROBJ;
}
} else {
+ fum:
if (game.loc == LOC_GIANTROOM) {
rspeak(START_OVER);
} else {
if (game.loc == LOC_GIANTROOM) {
rspeak(START_OVER);
} else {