diff options
author | Matthew Cline <zelgadis@sourceforge.net> | 2009-11-27 04:42:45 -0800 |
---|---|---|
committer | Matthew Cline <zelgadis@sourceforge.net> | 2009-11-27 17:20:47 -0800 |
commit | f886116c80ba004997d72623114d8f332a95b7a7 (patch) | |
tree | 97b9037b44662fb401e7b6d59c9787917c49984b /crawl-ref/source/mon-cast.cc | |
parent | 01b14be4f37417f9cfc955ebba06477890a8783e (diff) | |
download | crawl-ref-f886116c80ba004997d72623114d8f332a95b7a7.tar.gz crawl-ref-f886116c80ba004997d72623114d8f332a95b7a7.zip |
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.
Diffstat (limited to 'crawl-ref/source/mon-cast.cc')
-rw-r--r-- | crawl-ref/source/mon-cast.cc | 6 |
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); } } } |