summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells2.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/spells2.cc')
-rw-r--r--crawl-ref/source/spells2.cc17
1 files changed, 7 insertions, 10 deletions
diff --git a/crawl-ref/source/spells2.cc b/crawl-ref/source/spells2.cc
index 1fbef13c7e..865bbd514b 100644
--- a/crawl-ref/source/spells2.cc
+++ b/crawl-ref/source/spells2.cc
@@ -1760,7 +1760,7 @@ bool summon_daeva(int pow, god_type god, bool quiet)
}
bool cast_tukimas_dance(int pow, god_type god,
- bool force_hostile, bool quiet_failure)
+ bool force_hostile)
{
bool success = true;
@@ -1806,17 +1806,14 @@ bool cast_tukimas_dance(int pow, god_type god,
{
destroy_item(i);
- if (!quiet_failure)
+ if (wpn != -1)
{
- if (wpn != -1)
- {
- 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;
+ 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;
return (false);
}