summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/store.cc
diff options
context:
space:
mode:
authorDarshan Shaligram <dshaligram@users.sourceforge.net>2010-02-12 05:15:04 +0530
committerDarshan Shaligram <dshaligram@users.sourceforge.net>2010-02-12 05:38:38 +0530
commit063d347c18f71bd488744d3a7f0ff99a8b3b3e24 (patch)
tree91d03b381fb8e15302835f5d53259fd323d77c0d /crawl-ref/source/store.cc
parent45ef6e4adcc205fa8930707ba2424e27f86f3f2a (diff)
downloadcrawl-ref-063d347c18f71bd488744d3a7f0ff99a8b3b3e24.tar.gz
crawl-ref-063d347c18f71bd488744d3a7f0ff99a8b3b3e24.zip
Che ponderousness: ponderousness is now an artefact property in addition to an ego type, and the Che ability converts the target item into a randart.
The -2 EV for each worn item of ponderousness is gone. We need more Che ponderous randart names in randname.txt.
Diffstat (limited to 'crawl-ref/source/store.cc')
-rw-r--r--crawl-ref/source/store.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/store.cc b/crawl-ref/source/store.cc
index f49078da7d..fa6cc7c01c 100644
--- a/crawl-ref/source/store.cc
+++ b/crawl-ref/source/store.cc
@@ -1661,7 +1661,7 @@ void CrawlVector::assert_validity() const
void CrawlVector::set_max_size(vec_size _size)
{
ASSERT(_size > 0);
- ASSERT(max_size == VEC_MAX_SIZE || max_size == _size);
+ ASSERT(max_size == VEC_MAX_SIZE || max_size < _size);
max_size = _size;
vector.reserve(max_size);