projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Magic-number elimination.
[open-adventure.git]
/
misc.c
diff --git
a/misc.c
b/misc.c
index a793026c34b1af41a068ad0143254e55e6265d2e..5b1068e379084b872f90ebcd6da91876b855ee2a 100644
(file)
--- a/
misc.c
+++ b/
misc.c
@@
-532,7
+532,7
@@
long get_vocab_id(const char* word)
// Check for the reservoir magic word.
if (strcasecmp(word, game.zzword) == 0)
- return
(PART + 2000); // FIXME: replace with a proper hash
+ return
ACTION_WORD(PART);
return (WORD_NOT_FOUND);
}