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.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/spells1.cc b/crawl-ref/source/spells1.cc
index ae7546c451..81abfc781b 100644
--- a/crawl-ref/source/spells1.cc
+++ b/crawl-ref/source/spells1.cc
@@ -121,14 +121,15 @@ int blink(void)
return (1);
} // end blink()
-void random_blink(bool allow_partial_control)
+void random_blink(bool allow_partial_control, bool override_abyss)
{
int tx, ty;
bool succ = false;
if (scan_randarts(RAP_PREVENT_TELEPORTATION))
mpr("You feel a weird sense of stasis.");
- else if (you.level_type == LEVEL_ABYSS && !one_chance_in(3))
+ else if (you.level_type == LEVEL_ABYSS
+ && !override_abyss && !one_chance_in(3))
{
mpr("The power of the Abyss keeps you in your place!");
}