From 6a14f41c8686a8e31406b4d2c00ec708b45b6762 Mon Sep 17 00:00:00 2001 From: zelgadis Date: Fri, 29 May 2009 22:46:41 +0000 Subject: 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 --- crawl-ref/source/mon-util.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/mon-util.cc') 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 (""); } -- cgit v1.2.3-54-g00ecf