X-Git-Url: https://jxself.org/git/?p=open-adventure.git;a=blobdiff_plain;f=actions.c;h=d817c6d23c6d328e87bb5702e546560b19fdfb21;hp=fdd1c9341e1fb911ac000fbe6241699638115dc5;hb=63396e6abc17cf94068c69f49ffab9aeef137b6a;hpb=92de4856a6b7f9889e72faa1fc30a78526a97758 diff --git a/actions.c b/actions.c index fdd1c93..d817c6d 100644 --- a/actions.c +++ b/actions.c @@ -451,7 +451,7 @@ static int discard(token_t verb, token_t obj, bool just_do_it) if (TOTING(ROD2) && obj == ROD && !TOTING(ROD)) obj = ROD2; if (!TOTING(obj)) { - rspeak(actions[verb].message;); + rspeak(actions[verb].message); return GO_CLEAROBJ; } if (obj == BIRD && HERE(SNAKE)) { @@ -692,7 +692,7 @@ int fill(token_t verb, token_t obj) rspeak(SHATTER_VASE); game.prop[VASE] = VASE_BROKEN; game.fixed[VASE] = -1; - return (discard(verb, obj, true)); + return (discard(verb, VASE, true)); } if (obj == URN) {