diff options
author | Stefan O'Rear <stefanor@cox.net> | 2009-12-27 23:41:17 -0800 |
---|---|---|
committer | Stefan O'Rear <stefanor@cox.net> | 2009-12-27 23:41:17 -0800 |
commit | 02962c9ca97ca896e2d7be0e891f800efbbd9368 (patch) | |
tree | 30cd70ab2bb93edbc1f793b7b9dfdaf536395479 /crawl-ref/source/actor.cc | |
parent | cc6a658772e7c26cf2dedceb7028601c9863268f (diff) | |
download | crawl-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.cc | 4 |
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); |