diff options
author | gammafunk <gammafunk@gmail.com> | 2014-05-16 21:08:06 -0500 |
---|---|---|
committer | gammafunk <gammafunk@gmail.com> | 2014-05-26 22:44:47 -0500 |
commit | b364f15f4eeff0e148b6fc026c01de1327254cd2 (patch) | |
tree | c33df17f5496f4b58188486a35ee16029d77628d /crawl-ref/source/actor.h | |
parent | 1ea5aace817995441953ee3cb63f49f62a45ff88 (diff) | |
download | crawl-ref-b364f15f4eeff0e148b6fc026c01de1327254cd2.tar.gz crawl-ref-b364f15f4eeff0e148b6fc026c01de1327254cd2.zip |
Don't use inventory weight for the chance of activating a shaft trap
Shaft traps previously considered the actor's total inventory weight
in addition to body weight, but the player burden calculation code
isn't worth keeping for this consideration alone. The chance of a
shaft trap activating now depends only on the actor's body weight.
Diffstat (limited to 'crawl-ref/source/actor.h')
-rw-r--r-- | crawl-ref/source/actor.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/crawl-ref/source/actor.h b/crawl-ref/source/actor.h index 3b850ad6a3..e2029871d9 100644 --- a/crawl-ref/source/actor.h +++ b/crawl-ref/source/actor.h @@ -101,7 +101,6 @@ public: virtual size_type body_size(size_part_type psize = PSIZE_TORSO, bool base = false) const = 0; virtual int body_weight(bool base = false) const; - virtual int total_weight() const = 0; virtual brand_type damage_brand(int which_attack = -1) = 0; virtual int damage_type(int which_attack = -1) = 0; |