diff options
Diffstat (limited to 'crawl-ref/source/acr.cc')
-rw-r--r-- | crawl-ref/source/acr.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/acr.cc b/crawl-ref/source/acr.cc index 22100827a0..f2fe7b805b 100644 --- a/crawl-ref/source/acr.cc +++ b/crawl-ref/source/acr.cc @@ -4225,7 +4225,8 @@ static void _move_player(int move_x, int move_y) || you.y_pos <= 15 || you.y_pos >= (GYM - 16))) { area_shift(); - you.pet_target = MHITNOT; + if (you.pet_target != MHITYOU) + you.pet_target = MHITNOT; #if DEBUG_DIAGNOSTICS mpr( "Shifting.", MSGCH_DIAGNOSTICS ); |