summaryrefslogtreecommitdiffstats
path: root/crawl-ref
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref')
-rw-r--r--crawl-ref/source/itemprop.cc1
-rw-r--r--crawl-ref/source/makeitem.cc10
2 files changed, 3 insertions, 8 deletions
diff --git a/crawl-ref/source/itemprop.cc b/crawl-ref/source/itemprop.cc
index cdf6630b5b..ff3debc688 100644
--- a/crawl-ref/source/itemprop.cc
+++ b/crawl-ref/source/itemprop.cc
@@ -632,6 +632,7 @@ void set_equip_race( item_def &item, unsigned long flags )
if (item.sub_type == WPN_GIANT_CLUB
|| item.sub_type == WPN_GIANT_SPIKED_CLUB
|| item.sub_type == WPN_ANCUS
+ || item.sub_type == WPN_EVENINGSTAR
|| item.sub_type == WPN_KATANA
|| item.sub_type == WPN_LAJATANG
|| item.sub_type == WPN_SLING
diff --git a/crawl-ref/source/makeitem.cc b/crawl-ref/source/makeitem.cc
index d4c7fe09a6..8e34c3c542 100644
--- a/crawl-ref/source/makeitem.cc
+++ b/crawl-ref/source/makeitem.cc
@@ -1082,13 +1082,6 @@ static item_status_flag_type determine_weapon_race(const item_def& item,
rc = ISFLAG_ELVEN;
break;
- case WPN_KATANA:
- case WPN_LAJATANG:
- case WPN_KNIFE:
- case WPN_SLING:
- rc = ISFLAG_NO_RACE;
- break;
-
case WPN_BOW:
if (one_chance_in(6))
rc = ISFLAG_ORCISH;
@@ -1097,7 +1090,8 @@ static item_status_flag_type determine_weapon_race(const item_def& item,
break;
case WPN_LONGBOW:
- rc = one_chance_in(3) ? ISFLAG_ELVEN : ISFLAG_NO_RACE;
+ if (one_chance_in(3))
+ rc = ISFLAG_ELVEN;
break;
case WPN_CROSSBOW: