summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dbg-scan.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-05-09 17:11:29 +0200
committerAdam Borowski <kilobyte@angband.pl>2013-05-09 22:34:55 +0200
commitb66ed657f40eab9ed0cc85797a462366d5f55cb0 (patch)
tree79559959431e0052ae596f92ae4344e0a4cc2cbb /crawl-ref/source/dbg-scan.cc
parente6d205aeb2f298b215f42d6ad8a22f87f3ad97b3 (diff)
downloadcrawl-ref-b66ed657f40eab9ed0cc85797a462366d5f55cb0.tar.gz
crawl-ref-b66ed657f40eab9ed0cc85797a462366d5f55cb0.zip
Don't test missile enchantment values.
Diffstat (limited to 'crawl-ref/source/dbg-scan.cc')
-rw-r--r--crawl-ref/source/dbg-scan.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/crawl-ref/source/dbg-scan.cc b/crawl-ref/source/dbg-scan.cc
index 26c39ac327..2794cc631f 100644
--- a/crawl-ref/source/dbg-scan.cc
+++ b/crawl-ref/source/dbg-scan.cc
@@ -196,11 +196,6 @@ void debug_item_scan(void)
|| !is_artefact(mitm[i])
&& mitm[i].special >= NUM_SPECIAL_WEAPONS))
- || (mitm[i].base_type == OBJ_MISSILES
- && (abs(mitm[i].plus) > 30
- || !is_artefact(mitm[i])
- && mitm[i].special >= NUM_SPECIAL_MISSILES))
-
|| (mitm[i].base_type == OBJ_ARMOUR
&& (abs(mitm[i].plus) > 30
|| !is_artefact(mitm[i])