summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/delay.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2006-11-22 09:25:33 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2006-11-22 09:25:33 +0000
commit1c7c5a0668701f48c72cb7ea20d567a7baca7847 (patch)
tree24d97f96b578b7322d1d6e2b79eca41e4191caf6 /crawl-ref/source/delay.cc
parent6adb570984828b2c36de2952c18e722641fbf802 (diff)
downloadcrawl-ref-1c7c5a0668701f48c72cb7ea20d567a7baca7847.tar.gz
crawl-ref-1c7c5a0668701f48c72cb7ea20d567a7baca7847.zip
Fixed 160093: too many shield interaction messages.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@454 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/delay.cc')
-rw-r--r--crawl-ref/source/delay.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/delay.cc b/crawl-ref/source/delay.cc
index 6998a3df50..805a2ffff4 100644
--- a/crawl-ref/source/delay.cc
+++ b/crawl-ref/source/delay.cc
@@ -708,7 +708,8 @@ static void armour_wear_effects(const int item_slot)
if (item_cursed( arm ))
mpr( "Oops, that feels deathly cold." );
- warn_shield_penalties();
+ if (eq_slot == EQ_SHIELD)
+ warn_shield_penalties();
you.redraw_armour_class = 1;
you.redraw_evasion = 1;