diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-10 01:40:41 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-10 01:40:41 +0000 |
commit | 714a1818fbda913018df4c28c03e7dc563150942 (patch) | |
tree | df7348ca86555ea97c0ed03948d2fe10c440bed4 /crawl-ref/source/spells3.cc | |
parent | 24f9798b08e8f2e2145d9602b2ad21b8212c9ebd (diff) | |
download | crawl-ref-714a1818fbda913018df4c28c03e7dc563150942.tar.gz crawl-ref-714a1818fbda913018df4c28c03e7dc563150942.zip |
Add another message tweak.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5681 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells3.cc')
-rw-r--r-- | crawl-ref/source/spells3.cc | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc index f972ac6956..de4fb55810 100644 --- a/crawl-ref/source/spells3.cc +++ b/crawl-ref/source/spells3.cc @@ -413,15 +413,19 @@ bool cast_sublimation_of_blood(int pow) return (success); } -bool summon_shadows(int pow, bool god_gift, bool force_hostile) +bool summon_shadows(int pow, bool god_gift, bool force_hostile, + bool quiet) { bool success = false; // Maximum power is 300 (11 shadows). const int how_many = (pow / 30 + 1); - mpr(how_many > 1 ? "Flickering shadows surround you." - : "A nearby shadow flickers."); + if (!quiet) + { + mpr(how_many > 1 ? "Flickering shadows surround you." + : "A nearby shadow flickers."); + } for (int i = 0; i < how_many; ++i) { |