X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=actions.c;h=0f17bea4d6a38ae45e30e9e9c3454bda71785433;hb=58b44313d33a39285d394b7704d80823f4d15763;hp=fbd7f550237937ca4c0a93115c1d1e5079587c3b;hpb=1f45966decac274509ba6b179555585344354863;p=open-adventure.git diff --git a/actions.c b/actions.c index fbd7f55..0f17bea 100644 --- a/actions.c +++ b/actions.c @@ -966,8 +966,8 @@ static int say(struct command_t *command) char word1[6]; packed_to_token(command->wd1, word1); int wd = (int) get_vocab_id(word1); - /* FIXME: issue in lexical analyzer, last two magic numbers can't change */ - if (wd == XYZZY || wd == PLUGH || wd == PLOVER || wd == 2025 || wd == 2034) { + /* FIXME: magic numbers */ + if (wd == XYZZY || wd == PLUGH || wd == PLOVER || wd == 2000 + GIANTWORDS || wd == 2000 + PART) { /* FIXME: scribbles on the interpreter's command block */ wordclear(&command->wd2); return GO_LOOKUP;