diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-16 22:41:40 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-16 22:41:40 +0000 |
commit | adf985cc8e1096d10c988cdf65fb0f13e280e42e (patch) | |
tree | d1e3275ef05a28c6859f9351348f02a34ffa6aa6 /crawl-ref/source | |
parent | 847752c849c2f96b2821337d60d548b2454557ec (diff) | |
download | crawl-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')
-rw-r--r-- | crawl-ref/source/itemprop.cc | 3 |
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) |