projects
/
open-adventure.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2582e24
)
Address GitLab issue #67: saying Z'ZZZ at the reservoir causes the water to part...
author
Eric S. Raymond
<esr@thyrsus.com>
Tue, 2 Jan 2024 15:42:11 +0000
(10:42 -0500)
committer
Eric S. Raymond
<esr@thyrsus.com>
Tue, 2 Jan 2024 15:42:11 +0000
(10:42 -0500)
misc.c
patch
|
blob
|
history
diff --git
a/misc.c
b/misc.c
index 5aebb2a396caee144d35d72617670a7641759edc..d24ed2f9791edb79331f385dd36091761930affe 100644
(file)
--- 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;