summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2009-06-09 04:27:25 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2009-06-09 04:27:25 +0000
commitcce7f3dde28cf68083a6f397268a8c5700fc54e6 (patch)
treef037e153b970bb8d3c633abc2317e4a11890d088
parent470a8d2e7ee94b9f70bbb7db3e68d5faa2b41451 (diff)
downloadcrawl-ref-cce7f3dde28cf68083a6f397268a8c5700fc54e6.tar.gz
crawl-ref-cce7f3dde28cf68083a6f397268a8c5700fc54e6.zip
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
-rw-r--r--crawl-ref/source/mstuff2.cc8
1 files 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)