summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/goditem.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-01-04 11:55:27 +0100
committerAdam Borowski <kilobyte@angband.pl>2013-01-04 13:59:15 +0100
commit9850c7148df4c1de147fe54cc062fd25b95e7c3f (patch)
treeaeef98df904097c7a7063ba02b0357245f2860d0 /crawl-ref/source/goditem.cc
parent043ffe16ca44d729004b8448b7a4b56aab3cd6a1 (diff)
downloadcrawl-ref-9850c7148df4c1de147fe54cc062fd25b95e7c3f.tar.gz
crawl-ref-9850c7148df4c1de147fe54cc062fd25b95e7c3f.zip
Allow self-targetting polymorph.
Diffstat (limited to 'crawl-ref/source/goditem.cc')
-rw-r--r--crawl-ref/source/goditem.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/goditem.cc b/crawl-ref/source/goditem.cc
index c416655d77..f2e39a14d3 100644
--- a/crawl-ref/source/goditem.cc
+++ b/crawl-ref/source/goditem.cc
@@ -269,7 +269,7 @@ bool is_chaotic_item(const item_def& item)
}
break;
case OBJ_WANDS:
- retval = (item.sub_type == WAND_POLYMORPH_OTHER);
+ retval = (item.sub_type == WAND_POLYMORPH);
break;
case OBJ_POTIONS:
retval = (item.sub_type == POT_MUTATION);