summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-util.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/mon-util.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/mon-util.cc')
-rw-r--r--crawl-ref/source/mon-util.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc
index f7fd0bc1b9..3e2b319020 100644
--- a/crawl-ref/source/mon-util.cc
+++ b/crawl-ref/source/mon-util.cc
@@ -3335,7 +3335,11 @@ const char *mons_pronoun(monster_type mon_type, pronoun_type variant,
case PRONOUN_REFLEXIVE: // Awkward at start of sentence, always lower.
return ((gender == 0) ? "itself" :
(gender == 1) ? "himself" : "herself");
- }
+
+ case PRONOUN_OBJECTIVE: // Awkward at start of sentence, always lower.
+ return ((gender == 0) ? "it" :
+ (gender == 1) ? "him" : "her");
+ }
return ("");
}