From 1f9f39d789aed4daec0f901a84f54abbeb5b6c57 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 2 Jan 2024 10:42:11 -0500 Subject: [PATCH] Address GitLab issue #67: saying Z'ZZZ at the reservoir causes the water to part/crash together --- misc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/misc.c b/misc.c index 5aebb2a..d24ed2f 100644 --- a/misc.c +++ b/misc.c @@ -432,7 +432,8 @@ static void get_vocab_metadata(const char* word, vocab_t* id, word_type_t* type) vocab_t ref_num; ref_num = get_motion_vocab_id(word); - if (ref_num != WORD_NOT_FOUND) { + // Second conjunct is because the magic-word placeholder is a bit special + if (ref_num != WORD_NOT_FOUND || ref_num == PART) { *id = ref_num; *type = MOTION; return; -- 2.31.1