X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=src%2Fbirth%2Fgame-play-initializer.cpp;h=d9193521a363c123b8b9fdca00caa7a233288704;hb=b1f6d2236c6672534e12dc4e1ba40d3c451508e1;hp=fe3fd1fa823468d0bc3e34f4ebb6dcdb3dd4a502;hpb=06ad4dfcd9256799b2168657d970432e96e5237a;p=hengbandforosx%2Fhengbandosx.git diff --git a/src/birth/game-play-initializer.cpp b/src/birth/game-play-initializer.cpp index fe3fd1fa8..d9193521a 100644 --- a/src/birth/game-play-initializer.cpp +++ b/src/birth/game-play-initializer.cpp @@ -22,10 +22,12 @@ /*! * @brief ベースアイテム構造体の鑑定済みフラグをリセットする。 * @return なし + * @details + * 不具合対策で0からリセットする(セーブは0から) */ static void k_info_reset(void) { - for (int i = 1; i < max_k_idx; i++) { + for (int i = 0; i < max_k_idx; i++) { object_kind *k_ptr = &k_info[i]; k_ptr->tried = FALSE; k_ptr->aware = FALSE; @@ -123,6 +125,7 @@ void player_wipe_without_name(player_type *creature_ptr) cheat_save = FALSE; cheat_diary_output = FALSE; cheat_turn = FALSE; + cheat_immortal = FALSE; current_world_ptr->total_winner = FALSE; creature_ptr->timewalk = FALSE; @@ -150,7 +153,7 @@ void player_wipe_without_name(player_type *creature_ptr) creature_ptr->current_floor_ptr->inside_arena = FALSE; creature_ptr->current_floor_ptr->inside_quest = 0; for (int i = 0; i < MAX_MANE; i++) { - creature_ptr->mane_spell[i] = -1; + creature_ptr->mane_spell[i] = RF_ABILITY::MAX; creature_ptr->mane_dam[i] = 0; }