summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-09 13:32:52 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-09 13:32:52 +0000
commit393265212cf208291788477e54ca78a5ab81a3db (patch)
tree7e658f871a86713c387eaa67f7c1942f0ec9d45c /crawl-ref/source
parentddb9d09c44d29e57d5da36abcf3a8fe16835103c (diff)
downloadcrawl-ref-393265212cf208291788477e54ca78a5ab81a3db.tar.gz
crawl-ref-393265212cf208291788477e54ca78a5ab81a3db.zip
And fix messaging for abjuration protection.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9014 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source')
-rw-r--r--crawl-ref/source/mstuff2.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/mstuff2.cc b/crawl-ref/source/mstuff2.cc
index b83c36c51d..5129d96d92 100644
--- a/crawl-ref/source/mstuff2.cc
+++ b/crawl-ref/source/mstuff2.cc
@@ -2206,9 +2206,10 @@ static int _monster_abjure_square(const coord_def &pos,
#endif
mon_enchant abj = target->get_ench(ENCH_ABJ);
- if (!target->lose_ench_duration(abj, pow) && !shielded)
+ if (!target->lose_ench_duration(abj, pow))
{
- simple_monster_message(target, " shudders.");
+ if (!shielded)
+ simple_monster_message(target, " shudders.");
return (1);
}