Fix handling of intransitive "say".
[open-adventure.git] / actions.c
index d0608f60f1d8017ec2d6bdeee1248215d8769a2a..51972507052be7e1276022a32633bd5bdc412839 100644 (file)
--- a/actions.c
+++ b/actions.c
@@ -1051,7 +1051,7 @@ int action(FILE *input, enum speechpart part, long verb, token_t obj)
        case intransitive:
            if (WD2 > 0 && verb != SAY) return(2800);
            if (verb == SAY)obj=WD2;
-           if (obj == 0) {
+           if (obj == 0 || obj == INTRANSITIVE) {
                /*  Analyse an intransitive verb (ie, no object given yet). */
                    switch (verb-1) {
                    case  0: /* CARRY */ return carry(verb, INTRANSITIVE);