summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/effects.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc
index ff4de0f7a0..77e3a93bcc 100644
--- a/crawl-ref/source/effects.cc
+++ b/crawl-ref/source/effects.cc
@@ -1439,7 +1439,8 @@ bool acquirement(object_class_type class_wanted, int agent)
}
}
else if (thing.base_type == OBJ_WEAPONS
- && !is_fixed_artefact( thing ))
+ && !is_fixed_artefact( thing )
+ && !is_unrandom_artefact( thing ))
{
// HACK: make unwieldable weapons wieldable
// Note: messing with fixed artefacts is probably very bad.
@@ -1530,7 +1531,8 @@ bool acquirement(object_class_type class_wanted, int agent)
}
else if (thing.base_type == OBJ_ARMOUR
- && !is_fixed_artefact( thing ))
+ && !is_fixed_artefact( thing )
+ && !is_unrandom_artefact( thing ))
{
// HACK: make unwearable hats and boots wearable
// Note: messing with fixed artefacts is probably very bad.