X-Git-Url: https://jxself.org/git/?p=open-adventure.git;a=blobdiff_plain;f=actions.c;h=ceb728a0d86c6ae0f706ce2ca9179c790f4a0f58;hp=e41c7bf5913b3918c84787af649e55ae6103e8fc;hb=1a5d7c70138859be87e8cecfd152ab365010092f;hpb=9e2cb3c19196a26af8e20803314f42b69dc0e014 diff --git a/actions.c b/actions.c index e41c7bf..ceb728a 100644 --- a/actions.c +++ b/actions.c @@ -1,8 +1,17 @@ +/* + * Actions for the duneon-running code. + * + * Copyright (c) 1977, 2005 by Will Crowther and Don Woods + * Copyright (c) 2017 by Eric S. Raymond + * SPDX-License-Identifier: BSD-2-clause + */ + #include #include #include #include "advent.h" #include "dungeon.h" +#include static int fill(verb_t, obj_t); @@ -1575,7 +1584,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_CLEAROBJ; + return GO_CHECKHINT; default: // LCOV_EXCL_LINE BUG(SPEECHPART_NOT_TRANSITIVE_OR_INTRANSITIVE_OR_UNKNOWN); // LCOV_EXCL_LINE }