X-Git-Url: https://jxself.org/git/?p=open-adventure.git;a=blobdiff_plain;f=actions.c;h=ec25552237ddd75adfaec1e47126c16d6eb29246;hp=3d03d830e5f0da9b71e04c80395fbc47492ab8bf;hb=cf92b9d9d624d983277bd32d8d59de0152d97721;hpb=24d102781c2ec6fef8246b53250dc7590e71fff7 diff --git a/actions.c b/actions.c index 3d03d83..ec25552 100644 --- a/actions.c +++ b/actions.c @@ -1360,8 +1360,6 @@ int action(command_t command) return GO_CLEAROBJ; } - if (command.word[1].id != WORD_EMPTY && command.word[1].id != WORD_NOT_FOUND) - return GO_WORD2; if (command.verb != 0) command.part = transitive; } @@ -1577,7 +1575,7 @@ int action(command_t command) case unknown: /* Unknown verb, couldn't deduce object - might need hint */ sspeak(WHAT_DO, command.word[0].raw); - return GO_CHECKHINT; + return GO_CLEAROBJ; default: // LCOV_EXCL_LINE BUG(SPEECHPART_NOT_TRANSITIVE_OR_INTRANSITIVE_OR_UNKNOWN); // LCOV_EXCL_LINE }