]> granicus.if.org Git - nethack/commitdiff
no message
authornethack.allison <nethack.allison>
Tue, 5 Mar 2002 04:57:50 +0000 (04:57 +0000)
committernethack.allison <nethack.allison>
Tue, 5 Mar 2002 04:57:50 +0000 (04:57 +0000)
src/pickup.c

index febf2a63e54c9ddc122b396ed380451b0317174e..f524750db3fcdbb5806e1e48b81a9df4b3c1392d 100644 (file)
@@ -1687,17 +1687,14 @@ register struct obj *obj;
              pline_The("stone%s won't leave your person.", plur(obj->quan));
                return 0;
        } else if (obj->otyp == AMULET_OF_YENDOR ||
-                  obj->otyp == FAKE_AMULET_OF_YENDOR ||
                   obj->otyp == CANDELABRUM_OF_INVOCATION ||
                   obj->otyp == BELL_OF_OPENING ||
                   obj->otyp == SPE_BOOK_OF_THE_DEAD) {
        /* Prohibit Amulets in containers; if you allow it, monsters can't
         * steal them.  It also becomes a pain to check to see if someone
         * has the Amulet.  Ditto for the Candelabrum, the Bell and the Book.
-        * The fake amulet too because otherwise it's too easy to distinguish.
         */
-           pline("%s is enchanted to resist confinement.",
-                       The(xname(obj)));
+           pline("%s cannot be confined in such trappings.", The(xname(obj)));
            return 0;
        } else if (obj->otyp == LEASH && obj->leashmon != 0) {
                pline("%s attached to your pet.", Tobjnam(obj, "are"));