summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-transloc.cc
diff options
context:
space:
mode:
authorPete Hurst <pete@streamuniverse.tv>2013-03-14 12:58:03 +0000
committerAdam Borowski <kilobyte@angband.pl>2013-03-14 14:30:06 +0100
commitfd6672cdd1468f2a93ecc9d4d0106d7656b64a5b (patch)
tree9a39342298925f459155557cdab932ecccb6e204 /crawl-ref/source/spl-transloc.cc
parentea1ebbde915f73da250139c3e0848dae1017c27f (diff)
downloadcrawl-ref-fd6672cdd1468f2a93ecc9d4d0106d7656b64a5b.tar.gz
crawl-ref-fd6672cdd1468f2a93ecc9d4d0106d7656b64a5b.zip
Player is not the Bugblatter Beast. Fixes disjunction not working against monsters that can't see you.
Diffstat (limited to 'crawl-ref/source/spl-transloc.cc')
-rw-r--r--crawl-ref/source/spl-transloc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-transloc.cc b/crawl-ref/source/spl-transloc.cc
index 32b0a6114b..3932f0057a 100644
--- a/crawl-ref/source/spl-transloc.cc
+++ b/crawl-ref/source/spl-transloc.cc
@@ -109,7 +109,7 @@ void disjunction()
int decay = max(1, (dist - 1) * (dist + 1));
int chance = pow(0.8, 1.0 / decay) * 1000;
if (!x_chance_in_y(chance, 1000))
- blink_away(mons, &you);
+ blink_away(mons, &you, false);
}
}
}