]> granicus.if.org Git - nethack/commitdiff
mimic follow-up bit
authornethack.allison <nethack.allison>
Mon, 6 Jan 2003 11:51:48 +0000 (11:51 +0000)
committernethack.allison <nethack.allison>
Mon, 6 Jan 2003 11:51:48 +0000 (11:51 +0000)
src/vault.c

index 11feb0a63718ada16998fbe993b0dec04c4748dd..432bf9f697ca52c9e5f077ac401b6b8d0e57f4be 100644 (file)
@@ -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));