From f886116c80ba004997d72623114d8f332a95b7a7 Mon Sep 17 00:00:00 2001 From: Matthew Cline Date: Fri, 27 Nov 2009 04:42:45 -0800 Subject: mons_cast_noise(): wrong key order for poly'd mons Wizard and priest monsters which kept their spells after polymorphing into a monster without hands had the "targeted" key placed in the wrong order. --- crawl-ref/source/mon-cast.cc | 6 ++---- 1 file 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); } } } -- cgit v1.2.3-54-g00ecf