diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-09 00:08:25 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-09 00:08:25 +0000 |
commit | 7d52150177817250dc5648c0e54136b5fa14ab18 (patch) | |
tree | 8815010319dffe2ffad93ca65e0a8de2b44eb706 /crawl-ref/source/fight.h | |
parent | f25770a09d5b82dedaf3cd21f93d797e4debf7cc (diff) | |
download | crawl-ref-7d52150177817250dc5648c0e54136b5fa14ab18.tar.gz crawl-ref-7d52150177817250dc5648c0e54136b5fa14ab18.zip |
Refix [2484631], in a way that won't require changes to draining or
rotting attacks: Put the draining attack code back where it was, and
instead explicitly check for a death-by-banishment when determining
whether to skip chaos_killed_defender(). Sorry for any confusion.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8342 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/fight.h')
-rw-r--r-- | crawl-ref/source/fight.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/fight.h b/crawl-ref/source/fight.h index b96c6785cb..b463ab75fa 100644 --- a/crawl-ref/source/fight.h +++ b/crawl-ref/source/fight.h @@ -170,6 +170,7 @@ public: private: void init_attack(); + bool is_banished(const actor *) const; bool is_water_attack(const actor *, const actor *) const; void check_hand_half_bonus_eligible(); void check_autoberserk(); |