X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=actions.c;h=a30d7c0fc8f551af25cfcd0366ff1f2f2d6e4a96;hb=2328739e5141cfa9ede4c94f89571266a96bb5c0;hp=0f17bea4d6a38ae45e30e9e9c3454bda71785433;hpb=8675c4facd154b9eaa370c6d46b99473287552c7;p=open-adventure.git diff --git a/actions.c b/actions.c index 0f17bea..a30d7c0 100644 --- a/actions.c +++ b/actions.c @@ -967,7 +967,7 @@ static int say(struct command_t *command) packed_to_token(command->wd1, word1); int wd = (int) get_vocab_id(word1); /* FIXME: magic numbers */ - if (wd == XYZZY || wd == PLUGH || wd == PLOVER || wd == 2000 + GIANTWORDS || wd == 2000 + PART) { + if (wd == XYZZY || wd == PLUGH || wd == PLOVER || wd == ACTION_WORD(GIANTWORDS) || wd == ACTION_WORD(PART)) { /* FIXME: scribbles on the interpreter's command block */ wordclear(&command->wd2); return GO_LOOKUP;