summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/actor.cc
diff options
context:
space:
mode:
authorStefan O'Rear <stefanor@cox.net>2009-12-27 23:41:17 -0800
committerStefan O'Rear <stefanor@cox.net>2009-12-27 23:41:17 -0800
commit02962c9ca97ca896e2d7be0e891f800efbbd9368 (patch)
tree30cd70ab2bb93edbc1f793b7b9dfdaf536395479 /crawl-ref/source/actor.cc
parentcc6a658772e7c26cf2dedceb7028601c9863268f (diff)
downloadcrawl-ref-02962c9ca97ca896e2d7be0e891f800efbbd9368.tar.gz
crawl-ref-02962c9ca97ca896e2d7be0e891f800efbbd9368.zip
Forms never lower weight cap
I'm just building the bikeshed - somebody else needs to paint this stupid thing.
Diffstat (limited to 'crawl-ref/source/actor.cc')
-rw-r--r--crawl-ref/source/actor.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/actor.cc b/crawl-ref/source/actor.cc
index 3cdeeb9c50..62a8d87cf6 100644
--- a/crawl-ref/source/actor.cc
+++ b/crawl-ref/source/actor.cc
@@ -161,9 +161,9 @@ void actor::shield_block_succeeded(actor *foe)
}
}
-int actor::body_weight() const
+int actor::body_weight(bool base) const
{
- switch (body_size(PSIZE_BODY))
+ switch (body_size(PSIZE_BODY, base))
{
case SIZE_TINY:
return (150);