summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/itemprop.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-12-31 04:10:52 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-12-31 04:10:52 +0000
commit2b0b87df11c7df4c7aa4000c34952a1a9130d054 (patch)
tree2911ad9f0d7ca7f041bbfa5add980c0aaf04cd7d /crawl-ref/source/itemprop.cc
parent173be6333490d4cf0e57a021b3159a8d257222ad (diff)
downloadcrawl-ref-2b0b87df11c7df4c7aa4000c34952a1a9130d054.tar.gz
crawl-ref-2b0b87df11c7df4c7aa4000c34952a1a9130d054.zip
Occasionally allow dwarven long swords, since dwarves are above average
with long blades, and so that the sequence of racial long blades is more even (dwarves: falchions and long swords, elves: dwarves' weapons plus scimitars, orcs: elves' weapons plus great swords). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8051 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/itemprop.cc')
-rw-r--r--crawl-ref/source/itemprop.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/itemprop.cc b/crawl-ref/source/itemprop.cc
index d7d4311da8..1d3dcc353b 100644
--- a/crawl-ref/source/itemprop.cc
+++ b/crawl-ref/source/itemprop.cc
@@ -765,7 +765,8 @@ void set_equip_race( item_def &item, unsigned long flags )
case OBJ_WEAPONS:
if (weapon_skill(item) == SK_POLEARMS
|| (weapon_skill(item) == SK_LONG_BLADES
- && item.sub_type != WPN_FALCHION)
+ && item.sub_type != WPN_FALCHION
+ && item.sub_type != WPN_LONG_SWORD)
|| item.sub_type == WPN_QUICK_BLADE
|| item.sub_type == WPN_CLUB
|| item.sub_type == WPN_WHIP