summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-cast.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/mon-cast.cc')
-rw-r--r--crawl-ref/source/mon-cast.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/crawl-ref/source/mon-cast.cc b/crawl-ref/source/mon-cast.cc
index f4100c91ca..13a87415f6 100644
--- a/crawl-ref/source/mon-cast.cc
+++ b/crawl-ref/source/mon-cast.cc
@@ -2281,18 +2281,16 @@ void mons_cast_noise(monsters *monster, bolt &pbolt, spell_type spell_cast,
if (wizard)
{
std::string key = "polymorphed wizard" + cast_str;
- key_list.push_back(key);
-
if (targeted)
key_list.push_back(key + " targeted");
+ key_list.push_back(key);
}
else if (priest)
{
std::string key = "polymorphed priest" + cast_str;
- key_list.push_back(key);
-
if (targeted)
key_list.push_back(key + " targeted");
+ key_list.push_back(key);
}
}
}