diff options
author | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-11-06 10:44:28 -0600 |
---|---|---|
committer | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-11-06 10:44:28 -0600 |
commit | 32792aa54bd2f43849a6864391d8e16afb5b3dd3 (patch) | |
tree | ee9ed701846f65ec0d5b6c6eb866244434dbc405 /crawl-ref/source/mon-cast.cc | |
parent | f7274ebf7b56aecaebd2207582ce37879a47b697 (diff) | |
download | crawl-ref-32792aa54bd2f43849a6864391d8e16afb5b3dd3.tar.gz crawl-ref-32792aa54bd2f43849a6864391d8e16afb5b3dd3.zip |
Simplify.
Diffstat (limited to 'crawl-ref/source/mon-cast.cc')
-rw-r--r-- | crawl-ref/source/mon-cast.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/mon-cast.cc b/crawl-ref/source/mon-cast.cc index 9e16f927b6..74f99e15d2 100644 --- a/crawl-ref/source/mon-cast.cc +++ b/crawl-ref/source/mon-cast.cc @@ -2477,9 +2477,9 @@ void mons_cast_noise(monsters *monster, bolt &pbolt, spell_type spell_cast) msg = replace_all(msg, "@beam@", beam_name); const msg_channel_type chan = - (unseen ? MSGCH_SOUND : + (unseen ? MSGCH_SOUND : mons_friendly(monster) ? MSGCH_FRIEND_SPELL - : MSGCH_MONSTER_SPELL); + : MSGCH_MONSTER_SPELL); if (silent) mons_speaks_msg(monster, msg, chan, true); |