From 63396e6abc17cf94068c69f49ffab9aeef137b6a Mon Sep 17 00:00:00 2001 From: NHOrus Date: Tue, 4 Jul 2017 19:50:19 +0300 Subject: [PATCH] Oops. Also, sometimes it's better be explicit in parameters --- actions.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) { -- 2.31.1