summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/item_use.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-27 22:30:20 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-27 22:30:20 +0000
commit01817c529bcb4c87c6b1814084b318f6ec7d6f8e (patch)
treedb213df3d58c9c5ce121d759c5f0333a766b52a9 /crawl-ref/source/item_use.cc
parent61e4522795b013436c0508e259d38223ec06c62f (diff)
downloadcrawl-ref-01817c529bcb4c87c6b1814084b318f6ec7d6f8e.tar.gz
crawl-ref-01817c529bcb4c87c6b1814084b318f6ec7d6f8e.zip
Artefacts should have "the" prepended. [2540413]
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8824 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r--crawl-ref/source/item_use.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc
index 34c092385b..c7679d014b 100644
--- a/crawl-ref/source/item_use.cc
+++ b/crawl-ref/source/item_use.cc
@@ -2140,6 +2140,8 @@ void setup_missile_beam(const actor *agent, bolt &beam, item_def &item,
if (!is_artefact(item))
ammo_name = article_a(ammo_name, true);
+ else
+ ammo_name = "the " + ammo_name;
}
// XXX This is a bit too generous, as it lets the player determine