From: nethack.allison Date: Mon, 6 Jan 2003 11:51:48 +0000 (+0000) Subject: mimic follow-up bit X-Git-Tag: MOVE2GIT~2254 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=601b3b56d357f3c3ad6a4b48d57226b5ba3b0ad1;p=nethack mimic follow-up bit --- diff --git a/src/vault.c b/src/vault.c index 11feb0a63..432bf9f69 100644 --- a/src/vault.c +++ b/src/vault.c @@ -245,7 +245,7 @@ fnd: pline("Someone else has entered the Vault."); newsym(guard->mx,guard->my); if (mimickobj || u.uundetected) { - if (youmonst.mappearance != GOLD_PIECE) + if (mimickobj && youmonst.mappearance != GOLD_PIECE) verbalize("Hey! who left that %s in here?", mimic_obj_name(&youmonst)); /* You're mimicking some object or you're hidden. */ pline("Puzzled, %s turns around and leaves.", mhe(guard));