summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/libutil.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/libutil.cc b/crawl-ref/source/libutil.cc
index 9a9408910f..364d5bf3de 100644
--- a/crawl-ref/source/libutil.cc
+++ b/crawl-ref/source/libutil.cc
@@ -273,6 +273,9 @@ std::string article_a(const std::string &name, bool lowercase)
{
case 'a': case 'e': case 'i': case 'o': case 'u':
case 'A': case 'E': case 'I': case 'O': case 'U':
+ // XXX: Hack
+ if (starts_with(name, "one-way"))
+ return a + name;
return an + name;
default:
return a + name;