Magic number replacement.
This commit is contained in:
parent
a48e0ff30e
commit
7ca390c9cc
1 changed files with 1 additions and 1 deletions
|
@ -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 == 62 || wd == 65 || wd == 71 || wd == 2025 || wd == 2034) {
|
||||
if (wd == XYZZY || wd == PLUGH || wd == FORWARD1 || wd == GIANTWORDS + 2000 || wd == PART + 2000) {
|
||||
/* FIXME: scribbles on the interpreter's command block */
|
||||
wordclear(&command->wd2);
|
||||
return GO_LOOKUP;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue