From: NHOrus Date: Tue, 4 Jul 2017 16:50:19 +0000 (+0300) Subject: Oops. Also, sometimes it's better be explicit in parameters X-Git-Tag: takebird~32 X-Git-Url: https://jxself.org/git/?p=open-adventure.git;a=commitdiff_plain;h=63396e6abc17cf94068c69f49ffab9aeef137b6a;ds=sidebyside Oops. Also, sometimes it's better be explicit in parameters --- 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) {