summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/effects.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-22 19:58:17 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-22 19:58:17 +0000
commit016ca20bd263814990ae867cdbc2ca9282e1df10 (patch)
treeb30772579ed949767b6cb73865b308009ce6a790 /crawl-ref/source/effects.cc
parent8b989e877550fcc89c79e06905a2128537a852f0 (diff)
downloadcrawl-ref-016ca20bd263814990ae867cdbc2ca9282e1df10.tar.gz
crawl-ref-016ca20bd263814990ae867cdbc2ca9282e1df10.zip
Clean up blessed blade handling a bit.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4484 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/effects.cc')
-rw-r--r--crawl-ref/source/effects.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc
index 1503094343..93a9b50410 100644
--- a/crawl-ref/source/effects.cc
+++ b/crawl-ref/source/effects.cc
@@ -1496,11 +1496,11 @@ bool acquirement(object_class_type class_wanted, int agent,
continue;
}
- // Only TSO gifts blessed weapons, and currently
- // not through acquirement, but make sure of this anyway
+ // Only TSO gifts blessed blades, and currently not through
+ // acquirement, but make sure of this anyway
if (agent != GOD_SHINING_ONE)
{
- if (is_blessed(doodad))
+ if (is_blessed_blade(doodad))
{
destroy_item(thing_created, true);
thing_created = NON_ITEM;
@@ -1508,8 +1508,8 @@ 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)
+ // Trog does not gift the Wrath of Trog, nor weapons of pain
+ // (which work together with Necromantic magic)
if (agent == GOD_TROG)
{
int brand = get_weapon_brand(doodad);