summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells1.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/spells1.cc')
-rw-r--r--crawl-ref/source/spells1.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/spells1.cc b/crawl-ref/source/spells1.cc
index 7d850ba0b5..1c17ae78d8 100644
--- a/crawl-ref/source/spells1.cc
+++ b/crawl-ref/source/spells1.cc
@@ -111,12 +111,12 @@ int blink(int pow, bool high_level_controlled_blink, bool wizard_blink)
return (-1); // early return {dlb}
}
- if (!wizard_blink && you.duration[DUR_BEHELD])
+ if (!wizard_blink && you.duration[DUR_MESMERISED])
{
bool blocked_movement = false;
- for (unsigned int i = 0; i < you.beheld_by.size(); i++)
+ for (unsigned int i = 0; i < you.mesmerised_by.size(); i++)
{
- monsters& mon = menv[you.beheld_by[i]];
+ monsters& mon = menv[you.mesmerised_by[i]];
const int olddist = grid_distance(you.pos(), mon.pos());
const int newdist = grid_distance(beam.target, mon.pos());