summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/actor.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2009-11-13 22:11:29 +0100
committerAdam Borowski <kilobyte@angband.pl>2009-11-13 22:15:54 +0100
commit0b2938bbfc318cb3dd6ecf123ae5bb77cd24cf72 (patch)
treee66b96c1b09e1064c72ec39f68ee765f1facac0d /crawl-ref/source/actor.h
parent13ac52b42d87cf36953ae807b88c49c62a491211 (diff)
downloadcrawl-ref-0b2938bbfc318cb3dd6ecf123ae5bb77cd24cf72.tar.gz
crawl-ref-0b2938bbfc318cb3dd6ecf123ae5bb77cd24cf72.zip
Put duplicated body weight calculations into actor::.
Diffstat (limited to 'crawl-ref/source/actor.h')
-rw-r--r--crawl-ref/source/actor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/actor.h b/crawl-ref/source/actor.h
index 401b768d7f..ae0204aa6c 100644
--- a/crawl-ref/source/actor.h
+++ b/crawl-ref/source/actor.h
@@ -50,7 +50,7 @@ public:
virtual size_type body_size(size_part_type psize = PSIZE_TORSO,
bool base = false) const = 0;
- virtual int body_weight() const = 0;
+ virtual int body_weight() const;
virtual int total_weight() const = 0;
virtual int damage_brand(int which_attack = -1) = 0;