summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/stash.cc
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2014-06-07 02:25:50 -0400
committerNeil Moore <neil@s-z.org>2014-06-07 02:28:32 -0400
commit24d630d338acec5da4221ee370ab7450583f392e (patch)
treeb8d5b7f9ac046a8ad86e9583c3c4362ad0ecf654 /crawl-ref/source/stash.cc
parent94533af89455116e4220b199595cfbbc412e49f6 (diff)
downloadcrawl-ref-24d630d338acec5da4221ee370ab7450583f392e.tar.gz
crawl-ref-24d630d338acec5da4221ee370ab7450583f392e.zip
Don't ignore rod max charge in stash comparisons.
Diffstat (limited to 'crawl-ref/source/stash.cc')
-rw-r--r--crawl-ref/source/stash.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/stash.cc b/crawl-ref/source/stash.cc
index 661b5ac2a7..8e68946669 100644
--- a/crawl-ref/source/stash.cc
+++ b/crawl-ref/source/stash.cc
@@ -190,7 +190,7 @@ bool Stash::are_items_same(const item_def &a, const item_def &b, bool exact)
// Ignore Gozag's gold flag, and rod charges.
&& (a.plus == b.plus || a.base_type == OBJ_GOLD && !exact
|| a.base_type == OBJ_RODS && !exact)
- && (a.plus2 == b.plus2 || a.base_type == OBJ_RODS && !exact)
+ && a.plus2 == b.plus2
&& a.special == b.special
&& a.colour == b.colour
&& a.flags == b.flags