From cce7f3dde28cf68083a6f397268a8c5700fc54e6 Mon Sep 17 00:00:00 2001 From: zelgadis Date: Tue, 9 Jun 2009 04:27:25 +0000 Subject: Oops, my attempt to revert the monster spell noise system to 0.4 status had instead meant that wizard and priest monsters weren't giving any messages at all when they cast; fixed. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.5@9924 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/mstuff2.cc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/crawl-ref/source/mstuff2.cc b/crawl-ref/source/mstuff2.cc index 5cf2a940b6..a16b27cbcb 100644 --- a/crawl-ref/source/mstuff2.cc +++ b/crawl-ref/source/mstuff2.cc @@ -536,9 +536,7 @@ void mons_cast(monsters *monster, bolt &pbolt, spell_type spell_cast, void mons_cast_noise(monsters *monster, bolt &pbolt, spell_type spell_cast) { - // XXX: Revert to the 0.4 behaviour of monster spells not making any - // noise, since the new sound system is incomplete. - bool force_silent = true; + bool force_silent = false; spell_type real_spell = spell_cast; @@ -713,6 +711,10 @@ void mons_cast_noise(monsters *monster, bolt &pbolt, spell_type spell_cast) break; } + // XXX: Revert to the 0.4 behaviour of monster spells not making any + // noise, since the new sound system is incomplete. + noise = 0; + if (msg.empty()) { if (silent) -- cgit v1.2.3-54-g00ecf