diff options
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r-- | crawl-ref/source/player.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index ebd6b2d28b..c0d0cf39e0 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -6450,8 +6450,10 @@ void player::teleport(bool now, bool abyss_shift) you_teleport(); } -int player::hurt(const actor *agent, int amount, beam_type flavour) +int player::hurt(const actor *agent, int amount, beam_type flavour, + bool cleanup_dead) { + // We ignore cleanup_dead here. const monsters *mon = dynamic_cast<const monsters*>(agent); if (agent->atype() == ACT_MONSTER) { |