summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2014-08-07 19:08:32 -0400
committerNeil Moore <neil@s-z.org>2014-08-07 19:09:03 -0400
commitb16fe66b8da3dc6ba6cb853732eee8a440568d85 (patch)
tree72d6e84c142e263a865e2525a970a667833b2141
parentcf53a6da84e3c006a4cc95cd23a1890e8e2c19e0 (diff)
downloadcrawl-ref-b16fe66b8da3dc6ba6cb853732eee8a440568d85.tar.gz
crawl-ref-b16fe66b8da3dc6ba6cb853732eee8a440568d85.zip
Slightly improve a message.
"The goblin blocks its own attack." instead of just "... its attack."
-rw-r--r--crawl-ref/source/attack.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/attack.cc b/crawl-ref/source/attack.cc
index 68e1e0381c..6567742ab9 100644
--- a/crawl-ref/source/attack.cc
+++ b/crawl-ref/source/attack.cc
@@ -1604,7 +1604,8 @@ bool attack::attack_shield_blocked(bool verbose)
mprf("%s %s %s attack.",
def_name(DESC_THE).c_str(),
defender->conj_verb("block").c_str(),
- atk_name(DESC_ITS).c_str());
+ attacker == defender ? "its own"
+ : atk_name(DESC_ITS).c_str());
}
defender->shield_block_succeeded(attacker);