summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monster.cc
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2010-01-11 14:30:20 +0100
committerRobert Vollmert <rvollmert@gmx.net>2010-01-11 16:13:28 +0100
commit7f9e4fc838aa0874a5f26fb197feeba6c6de0768 (patch)
treee7554ecd83f1f321443a070c23c568935f669d77 /crawl-ref/source/monster.cc
parent1e1a9815d4a855d76bb6a81560ee177929b97057 (diff)
downloadcrawl-ref-7f9e4fc838aa0874a5f26fb197feeba6c6de0768.tar.gz
crawl-ref-7f9e4fc838aa0874a5f26fb197feeba6c6de0768.zip
Blink quietly when timing out monster confusion.
monsters::timeout_enchantments is called when returning to a level; it blinks monsters that were confused and used to message that the monster blinks. This fixes that message. Things are still a little weird: You still see the confused monsters when entering the level and get the "less confused" messages before they're redrawn elsewhere. Not quite sure how this should be done properly.
Diffstat (limited to 'crawl-ref/source/monster.cc')
-rw-r--r--crawl-ref/source/monster.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/monster.cc b/crawl-ref/source/monster.cc
index d1d6f659a9..8e3cb130ee 100644
--- a/crawl-ref/source/monster.cc
+++ b/crawl-ref/source/monster.cc
@@ -4714,7 +4714,7 @@ void monsters::timeout_enchantments(int levels)
case ENCH_CONFUSION:
if (!mons_class_flag(type, M_CONFUSED))
del_ench(i->first);
- blink();
+ monster_blink(this, true);
break;
case ENCH_HELD: