summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/effects.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-02-21 18:54:28 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-02-21 18:54:28 +0000
commit8138928e141a983b076cc6d116a74539c6726f8f (patch)
tree110554ae5a107dae92fea49cb965e140a425b0c0 /crawl-ref/source/effects.cc
parent9fd12611e22411e75014d154ca4026a1fe726811 (diff)
downloadcrawl-ref-8138928e141a983b076cc6d116a74539c6726f8f.tar.gz
crawl-ref-8138928e141a983b076cc6d116a74539c6726f8f.zip
Another fix of randart auto inscriptions, this time concerning
the number of "plusses" shown for mutagenic and stealth. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3453 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/effects.cc')
-rw-r--r--crawl-ref/source/effects.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc
index 01e163b8f7..722161f8e5 100644
--- a/crawl-ref/source/effects.cc
+++ b/crawl-ref/source/effects.cc
@@ -1492,12 +1492,10 @@ bool acquirement(object_class_type class_wanted, int agent,
// Trog does not gift the Wrath of Trog, nor
// weapons of pain (work together with Necromantic magic)
- // or holy wrath (blessed by TSO, a god hated by Trog)
if (agent == GOD_TROG)
{
int brand = get_weapon_brand(doodad);
- if (brand == SPWPN_HOLY_WRATH
- || brand == SPWPN_PAIN
+ if (brand == SPWPN_PAIN
|| is_fixed_artefact(doodad)
&& doodad.special == SPWPN_WRATH_OF_TROG)
{