リビジョン | 4bd0126a8ef508f5fd93d24a815fa9e22262e54b (tree) |
---|---|
日時 | 2017-07-23 23:43:42 |
作者 | Deskull <desull@user...> |
コミッター | Deskull |
#37399 (2.2.0.46) ironman_downward(帰還無し)の時、地上でレベルテレポを行った場合、recall_dungeonの値を問わず鉄獄に飛ぶよう修正 / If ironman_downward is true and when player invokes level teleport, player go to Angband independently of recall_dungeon's value.
@@ -3429,15 +3429,15 @@ static void player_wipe_without_name(void) | ||
3429 | 3429 | /* Reset virtues*/ |
3430 | 3430 | for (i = 0; i < 8; i++) p_ptr->virtues[i]=0; |
3431 | 3431 | |
3432 | + dungeon_type = 0; | |
3433 | + | |
3432 | 3434 | /* Set the recall dungeon accordingly */ |
3433 | - if (vanilla_town) | |
3435 | + if (vanilla_town || ironman_downward) | |
3434 | 3436 | { |
3435 | - dungeon_type = 0; | |
3436 | 3437 | p_ptr->recall_dungeon = DUNGEON_ANGBAND; |
3437 | 3438 | } |
3438 | 3439 | else |
3439 | 3440 | { |
3440 | - dungeon_type = 0; | |
3441 | 3441 | p_ptr->recall_dungeon = DUNGEON_GALGALS; |
3442 | 3442 | } |
3443 | 3443 |
@@ -53,7 +53,7 @@ | ||
53 | 53 | #define FAKE_VER_MAJOR 12 /*!< ゲームのバージョン番号定義(メジャー番号 + 10) */ |
54 | 54 | #define FAKE_VER_MINOR 2 /*!< ゲームのバージョン番号定義(マイナー番号) */ |
55 | 55 | #define FAKE_VER_PATCH 0 /*!< ゲームのバージョン番号定義(パッチ番号) */ |
56 | -#define FAKE_VER_EXTRA 45 /*!< ゲームのバージョン番号定義(エクストラ番号) */ | |
56 | +#define FAKE_VER_EXTRA 46 /*!< ゲームのバージョン番号定義(エクストラ番号) */ | |
57 | 57 | |
58 | 58 | |
59 | 59 | /*! |
@@ -712,7 +712,7 @@ void teleport_level(int m_idx) | ||
712 | 712 | { |
713 | 713 | if (!dun_level) |
714 | 714 | { |
715 | - dungeon_type = p_ptr->recall_dungeon; | |
715 | + dungeon_type = ironman_downward ? DUNGEON_ANGBAND : p_ptr->recall_dungeon; | |
716 | 716 | p_ptr->oldpy = p_ptr->y; |
717 | 717 | p_ptr->oldpx = p_ptr->x; |
718 | 718 | } |