summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/makeitem.cc
diff options
context:
space:
mode:
authorShmuale Mark <shm.mark@gmail.com>2014-06-24 10:46:07 -0400
committerShmuale Mark <shm.mark@gmail.com>2014-06-24 10:46:07 -0400
commitc6cfd978cd5b8278c7baca10b2793f869fad7694 (patch)
treede9ea967e680699d537251046e9acd1159a0f580 /crawl-ref/source/makeitem.cc
parentc5376b701bf558287ef2d1a147f64bd6ba87b100 (diff)
downloadcrawl-ref-c6cfd978cd5b8278c7baca10b2793f869fad7694.tar.gz
crawl-ref-c6cfd978cd5b8278c7baca10b2793f869fad7694.zip
Ditch an old use of plus2.
Diffstat (limited to 'crawl-ref/source/makeitem.cc')
-rw-r--r--crawl-ref/source/makeitem.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/makeitem.cc b/crawl-ref/source/makeitem.cc
index 08645f8d6c..f0e3438197 100644
--- a/crawl-ref/source/makeitem.cc
+++ b/crawl-ref/source/makeitem.cc
@@ -2938,7 +2938,7 @@ static bool _weapon_is_visibly_special(const item_def &item)
if (visibly_branded || is_artefact(item))
return true;
- if (x_chance_in_y(item.plus - 2, 3) || x_chance_in_y(item.plus2 - 2, 3))
+ if (x_chance_in_y(item.plus - 2, 3))
return true;
if (item.flags & ISFLAG_CURSED && one_chance_in(3))