summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/fight.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/fight.cc')
-rw-r--r--crawl-ref/source/fight.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/fight.cc b/crawl-ref/source/fight.cc
index d50d64d5b4..c2664ce6ba 100644
--- a/crawl-ref/source/fight.cc
+++ b/crawl-ref/source/fight.cc
@@ -1725,7 +1725,8 @@ bool melee_attack::apply_damage_brand()
if (you.level_type != LEVEL_ABYSS && coinflip())
{
emit_nodmg_hit_message();
- defender->banish();
+ defender->banish( atk? atk->name(DESC_PLAIN, true)
+ : attacker->name(DESC_PLAIN) );
return (true);
}
break;