summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/itemprop.cc
diff options
context:
space:
mode:
authorShmuale Mark <shm.mark@gmail.com>2014-06-12 14:22:19 -0400
committerShmuale Mark <shm.mark@gmail.com>2014-06-12 14:29:26 -0400
commit872d5c48c9ab0301c6a83c7c537ebcadc3af4471 (patch)
tree120f5f40b689e59af255e9256ccd2f0848f2af96 /crawl-ref/source/itemprop.cc
parent62da3a1b50ace201ebcccd202515e3685b5e3234 (diff)
downloadcrawl-ref-872d5c48c9ab0301c6a83c7c537ebcadc3af4471.tar.gz
crawl-ref-872d5c48c9ab0301c6a83c7c537ebcadc3af4471.zip
More fixes for temporary brands.
Don't keep the old brand on Tukima's, make ?bw make sense, and don't allow rebranding a blessed weapon (this includes with the scroll).
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 144b9c0d41..bac81dd6a2 100644
--- a/crawl-ref/source/itemprop.cc
+++ b/crawl-ref/source/itemprop.cc
@@ -1527,6 +1527,9 @@ bool is_brandable_weapon(const item_def &wpn, bool allow_ranged)
return false;
}
+ if (is_blessed(wpn))
+ return false;
+
return true;
}