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, 4 insertions, 2 deletions
diff --git a/crawl-ref/source/spells1.cc b/crawl-ref/source/spells1.cc
index 8b1d90d9a4..95de265140 100644
--- a/crawl-ref/source/spells1.cc
+++ b/crawl-ref/source/spells1.cc
@@ -151,7 +151,8 @@ int blink(int pow, bool high_level_controlled_blink, bool wizard_blink)
else if (you.level_type == LEVEL_ABYSS && !wizard_blink)
{
abyss_teleport( false );
- you.pet_target = MHITNOT;
+ if (you.pet_target != MHITYOU)
+ you.pet_target = MHITNOT;
}
else
{
@@ -222,7 +223,8 @@ void random_blink(bool allow_partial_control, bool override_abyss)
if (you.level_type == LEVEL_ABYSS)
{
abyss_teleport( false );
- you.pet_target = MHITNOT;
+ if (you.pet_target != MHITYOU)
+ you.pet_target = MHITNOT;
}
}