Fix B6013.

This commit is contained in:
nethack.allison
2002-02-11 23:15:33 +00:00
parent 9748b45905
commit 97d635fdbf

View File

@@ -1814,7 +1814,8 @@ struct obj *otmp;
}
material = objects[obj->otyp].oc_material;
if (otmp->cursed && obj->oclass == GEM_CLASS && !rn2(5)) {
if (otmp->cursed &&
obj->oclass == GEM_CLASS && !is_greystone(obj) && !rn2(5)) {
pline(
(Blind ? "You feel something shatter" :
(Hallucination ? "Oh, wow, look at the pretty shards." :