X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=actions.c;h=51972507052be7e1276022a32633bd5bdc412839;hb=7c9a0bfb36e0c630d6056e5897d00a8d54317261;hp=2b9973a55a7836348a22c05d74a5c974a66db73b;hpb=9344b8b329161df4c2322f8c44cb84fecc8ba378;p=open-adventure.git diff --git a/actions.c b/actions.c index 2b9973a..5197250 100644 --- a/actions.c +++ b/actions.c @@ -849,7 +849,7 @@ static int say(void) int wd=VOCAB(WD1,-1); if (wd == 62 || wd == 65 || wd == 71 || wd == 2025 || wd == 2034) { WD2=0; - return(2630); + return GO_LOOKUP; } RSPEAK(258); return GO_CLEAROBJ; @@ -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);