summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-util.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2008-01-28 07:19:48 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2008-01-28 07:19:48 +0000
commit1e30561a62b3b9fbe6d359ca7c11736e688f283e (patch)
treed36203782899d2cdc4ec11e369b0965eddd4ddb6 /crawl-ref/source/mon-util.cc
parent53e843b86663b764932ab7bf2c1c79ecf2b86a87 (diff)
downloadcrawl-ref-1e30561a62b3b9fbe6d359ca7c11736e688f283e.tar.gz
crawl-ref-1e30561a62b3b9fbe6d359ca7c11736e688f283e.zip
Fix pronouns for mermaids and Ereshkigal.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3351 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/mon-util.cc')
-rw-r--r--crawl-ref/source/mon-util.cc38
1 files changed, 20 insertions, 18 deletions
diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc
index 655c8f429a..f941730d8c 100644
--- a/crawl-ref/source/mon-util.cc
+++ b/crawl-ref/source/mon-util.cc
@@ -2221,27 +2221,29 @@ const char *mons_pronoun(monster_type mon_type, pronoun_type variant)
{
gender_type gender = GENDER_NEUTER;
- if (mons_is_unique( mon_type ) && mon_type != MONS_PLAYER_GHOST)
+ if ((mons_is_unique( mon_type ) && mon_type != MONS_PLAYER_GHOST)
+ || mon_type == MONS_MERMAID)
{
switch(mon_type)
{
- case MONS_JESSICA:
- case MONS_PSYCHE:
- case MONS_JOSEPHINE:
- case MONS_AGNES:
- case MONS_MAUD:
- case MONS_LOUISE:
- case MONS_FRANCES:
- case MONS_MARGERY:
- case MONS_EROLCHA:
- case MONS_ERICA:
- case MONS_TIAMAT:
- case MONS_MERMAID:
- gender = GENDER_FEMALE;
- break;
- default:
- gender = GENDER_MALE;
- break;
+ case MONS_JESSICA:
+ case MONS_PSYCHE:
+ case MONS_JOSEPHINE:
+ case MONS_AGNES:
+ case MONS_MAUD:
+ case MONS_LOUISE:
+ case MONS_FRANCES:
+ case MONS_MARGERY:
+ case MONS_EROLCHA:
+ case MONS_ERICA:
+ case MONS_TIAMAT:
+ case MONS_ERESHKIGAL:
+ case MONS_MERMAID:
+ gender = GENDER_FEMALE;
+ break;
+ default:
+ gender = GENDER_MALE;
+ break;
}
}