OSDN Git Service

#37399 (2.2.0.46) ironman_downward(帰還無し)の時、地上でレベルテレポを行った場合、recall_dungeonの値を問わず鉄獄に飛ぶよ...
authorDeskull <desull@users.sourceforge.jp>
Sun, 23 Jul 2017 14:43:42 +0000 (23:43 +0900)
committerDeskull <desull@users.sourceforge.jp>
Sun, 23 Jul 2017 14:43:42 +0000 (23:43 +0900)
src/birth.c
src/defines.h
src/spells3.c

index 7425ba1..155990d 100644 (file)
@@ -3429,15 +3429,15 @@ static void player_wipe_without_name(void)
        /* Reset virtues*/
        for (i = 0; i < 8; i++) p_ptr->virtues[i]=0;
 
+       dungeon_type = 0;
+
        /* Set the recall dungeon accordingly */
-       if (vanilla_town)
+       if (vanilla_town || ironman_downward)
        {
-               dungeon_type = 0;
                p_ptr->recall_dungeon = DUNGEON_ANGBAND;
        }
        else
        {
-               dungeon_type = 0;
                p_ptr->recall_dungeon = DUNGEON_GALGALS;
        }
 
index 7c541d2..6f4eaa2 100644 (file)
@@ -53,7 +53,7 @@
 #define FAKE_VER_MAJOR 12 /*!< ゲームのバージョン番号定義(メジャー番号 + 10) */
 #define FAKE_VER_MINOR 2 /*!< ゲームのバージョン番号定義(マイナー番号) */
 #define FAKE_VER_PATCH 0 /*!< ゲームのバージョン番号定義(パッチ番号) */
-#define FAKE_VER_EXTRA 45 /*!< ゲームのバージョン番号定義(エクストラ番号) */
+#define FAKE_VER_EXTRA 46 /*!< ゲームのバージョン番号定義(エクストラ番号) */
 
 
  /*!
index 318ac8e..24aff36 100644 (file)
@@ -712,7 +712,7 @@ void teleport_level(int m_idx)
                {
                        if (!dun_level)
                        {
-                               dungeon_type = p_ptr->recall_dungeon;
+                               dungeon_type = ironman_downward ? DUNGEON_ANGBAND : p_ptr->recall_dungeon;
                                p_ptr->oldpy = p_ptr->y;
                                p_ptr->oldpx = p_ptr->x;
                        }