summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/effects.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/effects.cc')
-rw-r--r--crawl-ref/source/effects.cc8
1 files changed, 6 insertions, 2 deletions
diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc
index 5b8761cd37..7fd88fac32 100644
--- a/crawl-ref/source/effects.cc
+++ b/crawl-ref/source/effects.cc
@@ -1355,9 +1355,13 @@ bool acquirement(object_class_type class_wanted, int agent)
if ((doodad.base_type == OBJ_WEAPONS
&& !can_wield(&doodad, false, true))
|| (doodad.base_type == OBJ_ARMOUR
- && !can_wear_armour(doodad, false, true)))
+ && !can_wear_armour(doodad, false, true))
+
+ // Trog does not gift the Wrath of Trog.
+ || (agent == GOD_TROG && is_fixed_artefact(doodad)
+ && doodad.special == SPWPN_WRATH_OF_TROG))
{
- destroy_item(thing_created);
+ destroy_item(thing_created, true);
thing_created = NON_ITEM;
continue;
}