summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/libutil.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/libutil.cc')
-rw-r--r--crawl-ref/source/libutil.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/libutil.cc b/crawl-ref/source/libutil.cc
index dc0d1bfd5c..e9b9c1193f 100644
--- a/crawl-ref/source/libutil.cc
+++ b/crawl-ref/source/libutil.cc
@@ -339,9 +339,10 @@ std::string pluralise(const std::string &name,
// knife -> knives
return name.substr(0, name.length() - 2) + "ves";
}
- else if (ends_with(name, "elf") || ends_with(name, "olf"))
+ else if (ends_with(name, "elf") || ends_with(name, "olf")
+ || ends_with(name, "arf"))
{
- // Elf, wolf. Dwarfs can stay dwarfs, if there were dwarfs.
+ // Elf, wolf, dwarf.
return name.substr(0, name.length() - 1) + "ves";
}
else if (ends_with(name, "mage"))