Fix dropped stitch in last commit.
authorEric S. Raymond <esr@thyrsus.com>
Wed, 5 Jul 2017 06:55:51 +0000 (02:55 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Wed, 5 Jul 2017 06:55:51 +0000 (02:55 -0400)
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);
 }