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 f6342b38e8578feaa9bd8fdb4848710fafc88914..c16e9afd9dac2edf08610635ba09ca2dbeb9fb4b 100644
(file)
--- a/
misc.c
+++ b/
misc.c
@@
-526,6
+526,7
@@
long get_vocab_id(const char* word)
{
long ref_num;
+ /* FIXME: Magic numbers related to vocabulary */
ref_num = get_motion_vocab_id(word);
if (ref_num != WORD_NOT_FOUND)
return (ref_num + 0); // FIXME: replace with a proper hash