summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/libutil.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-04-03 22:28:03 +0200
committerAdam Borowski <kilobyte@angband.pl>2013-04-28 20:02:44 +0200
commitcc330ea7dbbe6c1d1977870c78b8b269aa1fae83 (patch)
treec7b3b11a59179bf1743e749877d29c8f329ce908 /crawl-ref/source/libutil.cc
parentab650623625beaca534a1b30f0807df4d2d98f11 (diff)
downloadcrawl-ref-cc330ea7dbbe6c1d1977870c78b8b269aa1fae83.tar.gz
crawl-ref-cc330ea7dbbe6c1d1977870c78b8b269aa1fae83.zip
Gather some smokeless fire, and call in DJ Inn.
Diffstat (limited to 'crawl-ref/source/libutil.cc')
-rw-r--r--crawl-ref/source/libutil.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/libutil.cc b/crawl-ref/source/libutil.cc
index 03f52075dd..6367e4a5ad 100644
--- a/crawl-ref/source/libutil.cc
+++ b/crawl-ref/source/libutil.cc
@@ -514,6 +514,11 @@ string pluralise(const string &name, const char *qualifiers[],
// also eidolon -> eidola (correct Greek pluralisation)
return name.substr(0, name.length() - 2) + "a";
}
+ else if (ends_with(name, "djinni"))
+ {
+ // djinni -> djinn.
+ return name.substr(0, name.length() - 1);
+ }
else if (name == "foot")
return "feet";
else if (name == "ophan" || name == "cherub" || name == "seraph")