summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/directn.cc
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2009-05-29 22:46:41 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2009-05-29 22:46:41 +0000
commit6a14f41c8686a8e31406b4d2c00ec708b45b6762 (patch)
tree003ec922838a05958c9495f9495a652d716daf80 /crawl-ref/source/directn.cc
parent0bdad6413abe036f2e70c271f465a2da181b4116 (diff)
downloadcrawl-ref-6a14f41c8686a8e31406b4d2c00ec708b45b6762.tar.gz
crawl-ref-6a14f41c8686a8e31406b4d2c00ec708b45b6762.zip
Added the objective case of pronouns ("him", "her") for use in the
blocked-line-of-fire description. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9847 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/directn.cc')
-rw-r--r--crawl-ref/source/directn.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/directn.cc b/crawl-ref/source/directn.cc
index 7959b19807..165aae3fec 100644
--- a/crawl-ref/source/directn.cc
+++ b/crawl-ref/source/directn.cc
@@ -3122,7 +3122,7 @@ static std::string _get_monster_desc(const monsters *mon)
dungeon_feature_type blocking_feat;
if (_blocked_ray(mon->pos(), &blocking_feat))
{
- text += "Your line of fire to " + lowercase_string(pronoun)
+ text += "Your line of fire to " + mon->pronoun(PRONOUN_OBJECTIVE)
+ " is blocked by "
+ feature_description(blocking_feat, NUM_TRAPS, false,
DESC_NOCAP_A)