From 0c2bc5190fc849b52ca40a9e2eff94a86cff2cc1 Mon Sep 17 00:00:00 2001 From: Nivim Date: Mon, 24 Mar 2014 13:18:03 -0600 Subject: [PATCH] Dungeon's Pattern: add Recall, hone levelport. Can now Recall instantly after saying no to levelport and normalport, and levelport can no longer go to lvl '0', which had resulted in weirdness. --- src/dungeon.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/dungeon.c b/src/dungeon.c index 03d161b..895259e 100644 --- a/src/dungeon.c +++ b/src/dungeon.c @@ -599,11 +599,11 @@ static void sense_inventory2(void) /* - * Go to any level (ripped off from wiz_jump) + * Go to any level (mostly ripped off from wiz_jump) */ static void pattern_teleport(void) { - int min_level = 0; + int min_level = 1; int max_level = 99; /* Ask for level */ @@ -649,6 +649,14 @@ static void pattern_teleport(void) teleport_player(200, 0L); return; } + else if (!p_ptr->inside_arena || !ironman_downward) + { + if (get_check("Recall? ")) + { + recall_player(1); + } + return; + } else { return; -- 1.9.1