summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/itemprop.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2007-12-13 22:02:49 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2007-12-13 22:02:49 +0000
commit1e7e6030b8ed808202ece42f73b9bd7aba699ed3 (patch)
tree75a8767733efecb1c21541474682973ea5efbb4c /crawl-ref/source/itemprop.cc
parentf94f63d5a02b7e7b7badbf74c0687c665829a277 (diff)
downloadcrawl-ref-1e7e6030b8ed808202ece42f73b9bd7aba699ed3.tar.gz
crawl-ref-1e7e6030b8ed808202ece42f73b9bd7aba699ed3.zip
In set_equip_race(), disallow dwarven whips, since they don't show up
randomly. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3059 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/itemprop.cc')
-rw-r--r--crawl-ref/source/itemprop.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/itemprop.cc b/crawl-ref/source/itemprop.cc
index 87dd33ee89..b63061565d 100644
--- a/crawl-ref/source/itemprop.cc
+++ b/crawl-ref/source/itemprop.cc
@@ -716,6 +716,7 @@ void set_equip_race( item_def &item, unsigned long flags )
|| (weapon_skill(item) == SK_LONG_SWORDS
&& item.sub_type != WPN_FALCHION)
|| item.sub_type == WPN_QUICK_BLADE
+ || item.sub_type == WPN_WHIP
|| item.sub_type == WPN_BLOWGUN
|| item.sub_type == WPN_BOW
|| item.sub_type == WPN_LONGBOW