summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/itemprop.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-16 22:41:40 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-16 22:41:40 +0000
commitadf985cc8e1096d10c988cdf65fb0f13e280e42e (patch)
treed1e3275ef05a28c6859f9351348f02a34ffa6aa6 /crawl-ref/source/itemprop.cc
parent847752c849c2f96b2821337d60d548b2454557ec (diff)
downloadcrawl-ref-adf985cc8e1096d10c988cdf65fb0f13e280e42e.tar.gz
crawl-ref-adf985cc8e1096d10c988cdf65fb0f13e280e42e.zip
Allow TSO to bless non-artefact blessed weapons, if the player ever
finds one. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4275 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/itemprop.cc')
-rw-r--r--crawl-ref/source/itemprop.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/itemprop.cc b/crawl-ref/source/itemprop.cc
index 62117fb904..de734bd793 100644
--- a/crawl-ref/source/itemprop.cc
+++ b/crawl-ref/source/itemprop.cc
@@ -1650,6 +1650,9 @@ bool is_blessed( const item_def &item )
bool is_blessable( const item_def &item )
{
+ if (is_blessed(item) && !is_artefact(item))
+ return (true);
+
if (item.base_type == OBJ_WEAPONS)
{
switch (item.sub_type)