summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player-act.cc
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2014-05-28 00:23:48 -0400
committerNeil Moore <neil@s-z.org>2014-05-28 00:27:25 -0400
commit2f1ea1acd04fed814870b008e25fc28ea22d4018 (patch)
treeb75a1d90065c2dd3633536b95973d1e91a6241f6 /crawl-ref/source/player-act.cc
parentcd548fe2d1827730c6ba5b5d28242e1d7aca1591 (diff)
downloadcrawl-ref-2f1ea1acd04fed814870b008e25fc28ea22d4018.tar.gz
crawl-ref-2f1ea1acd04fed814870b008e25fc28ea22d4018.zip
Remove SIZE_HUGE.
It's not marshalled anywhere, so there's no need to wait for a major bump. Also add a static array size check, and adjust a few variables.
Diffstat (limited to 'crawl-ref/source/player-act.cc')
-rw-r--r--crawl-ref/source/player-act.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/player-act.cc b/crawl-ref/source/player-act.cc
index 590d6da209..3a2f982714 100644
--- a/crawl-ref/source/player-act.cc
+++ b/crawl-ref/source/player-act.cc
@@ -413,7 +413,7 @@ bool player::can_wield(const item_def& item, bool ignore_curse,
bool player::could_wield(const item_def &item, bool ignore_brand,
bool ignore_transform) const
{
- size_type bsize = body_size(PSIZE_TORSO, ignore_transform);
+ const size_type bsize = body_size(PSIZE_TORSO, ignore_transform);
if (species == SP_FELID)
return false;