summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/item_use.cc
diff options
context:
space:
mode:
authorChris Oelmueller <chris.oelmueller@gmail.com>2014-04-23 15:42:16 +0200
committerNicholas Feinberg <pleasingfung@gmail.com>2014-06-14 23:00:53 -0700
commit9d5af20a535c63d2b2785387344c74fe86832a89 (patch)
tree53b87f23441c864e6c36b3fa939d9951928b57e3 /crawl-ref/source/item_use.cc
parentdf1f371a6ddd6e0c5a26a34d431ba7161af991a0 (diff)
downloadcrawl-ref-9d5af20a535c63d2b2785387344c74fe86832a89.tar.gz
crawl-ref-9d5af20a535c63d2b2785387344c74fe86832a89.zip
Remove two more references to missile enchantment
No longer handle reading enchant weapon on ammo stacks. This has not been possible for a while: 0.11-a0-1800-gec45d1d
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r--crawl-ref/source/item_use.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc
index 70cf8da570..37ddaac302 100644
--- a/crawl-ref/source/item_use.cc
+++ b/crawl-ref/source/item_use.cc
@@ -2330,7 +2330,6 @@ bool enchant_weapon(item_def &wpn, int acc, int dam, const char *colour)
// Get item name now before changing enchantment.
string iname = wpn.name(DESC_YOUR);
- const char *s = wpn.quantity == 1 ? "s" : "";
// Blowguns only have one stat.
if (wpn.base_type == OBJ_WEAPONS && wpn.sub_type == WPN_BLOWGUN)
@@ -2354,7 +2353,7 @@ bool enchant_weapon(item_def &wpn, int acc, int dam, const char *colour)
wpn.plus2++, success = true;
}
if (success && colour)
- mprf("%s glow%s %s for a moment.", iname.c_str(), s, colour);
+ mprf("%s glows %s for a moment.", iname.c_str(), colour);
}
if (wpn.cursed())
{
@@ -2362,7 +2361,7 @@ bool enchant_weapon(item_def &wpn, int acc, int dam, const char *colour)
{
if (const char *space = strchr(colour, ' '))
colour = space + 1;
- mprf("%s glow%s silvery %s for a moment.", iname.c_str(), s, colour);
+ mprf("%s glows silvery %s for a moment.", iname.c_str(), colour);
}
success = true;
}
@@ -2370,7 +2369,7 @@ bool enchant_weapon(item_def &wpn, int acc, int dam, const char *colour)
}
if (!success && colour)
- mprf("%s very briefly gain%s a %s sheen.", iname.c_str(), s, colour);
+ mprf("%s very briefly gain a %s sheen.", iname.c_str(), colour);
if (success)
you.wield_change = true;