diff options
author | Chris Campbell <chriscampbell89@gmail.com> | 2014-07-09 13:06:47 +0100 |
---|---|---|
committer | Chris Campbell <chriscampbell89@gmail.com> | 2014-07-09 14:20:35 +0100 |
commit | f36907521e4c5621adee179c95decac405dc06c6 (patch) | |
tree | 448f254463039c8b47ed491a1162d3bf564beada /crawl-ref/source/ouch.cc | |
parent | fe0db2420d7bad79b629ffbf24f9ccde9dbcbc74 (diff) | |
download | crawl-ref-f36907521e4c5621adee179c95decac405dc06c6.tar.gz crawl-ref-f36907521e4c5621adee179c95decac405dc06c6.zip |
Don't give a message about melting icemail if it's currently melted
Diffstat (limited to 'crawl-ref/source/ouch.cc')
-rw-r--r-- | crawl-ref/source/ouch.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/ouch.cc b/crawl-ref/source/ouch.cc index ed6eab80b5..f518a3b04f 100644 --- a/crawl-ref/source/ouch.cc +++ b/crawl-ref/source/ouch.cc @@ -91,7 +91,8 @@ void maybe_melt_player_enchantments(beam_type flavour, int damage) if (you.mutation[MUT_ICEMAIL]) { - mprf(MSGCH_DURATION, "Your icy envelope dissipates!"); + if (!you.duration[DUR_ICEMAIL_DEPLETED]) + mprf(MSGCH_DURATION, "Your icy envelope dissipates!"); you.duration[DUR_ICEMAIL_DEPLETED] = ICEMAIL_TIME; you.redraw_armour_class = true; } |