Oops. Also, sometimes it's better be explicit in parameters

This commit is contained in:
NHOrus 2017-07-04 19:50:19 +03:00
parent 92de4856a6
commit 63396e6abc

View file

@ -451,7 +451,7 @@ static int discard(token_t verb, token_t obj, bool just_do_it)
if (TOTING(ROD2) && obj == ROD && !TOTING(ROD)) if (TOTING(ROD2) && obj == ROD && !TOTING(ROD))
obj = ROD2; obj = ROD2;
if (!TOTING(obj)) { if (!TOTING(obj)) {
rspeak(actions[verb].message;); rspeak(actions[verb].message);
return GO_CLEAROBJ; return GO_CLEAROBJ;
} }
if (obj == BIRD && HERE(SNAKE)) { if (obj == BIRD && HERE(SNAKE)) {
@ -692,7 +692,7 @@ int fill(token_t verb, token_t obj)
rspeak(SHATTER_VASE); rspeak(SHATTER_VASE);
game.prop[VASE] = VASE_BROKEN; game.prop[VASE] = VASE_BROKEN;
game.fixed[VASE] = -1; game.fixed[VASE] = -1;
return (discard(verb, obj, true)); return (discard(verb, VASE, true));
} }
if (obj == URN) { if (obj == URN) {