summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/makeitem.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/makeitem.cc')
-rw-r--r--crawl-ref/source/makeitem.cc10
1 files changed, 2 insertions, 8 deletions
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: