summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells2.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-24 03:24:48 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-24 03:24:48 +0000
commit634ae7d7866440f61bf6d965f4138deb97d1159d (patch)
tree17137da00db2009708fcffc373ffaa99f563e6b1 /crawl-ref/source/spells2.cc
parent1dde04b0326769c817ada34bf735d8dd3e323896 (diff)
downloadcrawl-ref-634ae7d7866440f61bf6d965f4138deb97d1159d.tar.gz
crawl-ref-634ae7d7866440f61bf6d965f4138deb97d1159d.zip
Add miscellaneous minor fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6099 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells2.cc')
-rw-r--r--crawl-ref/source/spells2.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/crawl-ref/source/spells2.cc b/crawl-ref/source/spells2.cc
index ef7c62c23b..1fbef13c7e 100644
--- a/crawl-ref/source/spells2.cc
+++ b/crawl-ref/source/spells2.cc
@@ -1768,7 +1768,7 @@ bool cast_tukimas_dance(int pow, god_type god,
const int wpn = you.equip[EQ_WEAPON];
- // See if wielded item is appropriate.
+ // See if the wielded item is appropriate.
if (wpn == -1
|| you.inv[wpn].base_type != OBJ_WEAPONS
|| is_range_weapon(you.inv[wpn])
@@ -1809,7 +1809,10 @@ bool cast_tukimas_dance(int pow, god_type god,
if (!quiet_failure)
{
if (wpn != -1)
- mpr("Your weapon vibrates crazily for a second.");
+ {
+ mprf("%s vibrates crazily for a second.",
+ you.inv[wpn].name(DESC_CAP_YOUR).c_str());
+ }
else
msg::stream << "Your " << your_hand(true) << " twitch."
<< std::endl;