OSDN Git Service

[fix](2.2.1.1) #37582 吸血霧を衰弱の霧に改名し、説明も変更した。 / Rename Vampiric mist to Hypodynamic...
[hengband/hengband.git] / src / birth.c
index 544c375..45a5c01 100644 (file)
@@ -3267,7 +3267,7 @@ static void player_wipe_without_name(void)
        }
 
        /* Wipe the quests */
-       for (i = 0; i < max_quests; i++)
+       for (i = 0; i < max_q_idx; i++)
        {
                quest_type* const q_ptr = &quest[i];
                
@@ -3453,7 +3453,7 @@ static void player_wipe_without_name(void)
  * @param r_idx モンスターID
  * @return 討伐対象にできるならTRUEを返す。
  */
-static bool mon_hook_quest(int r_idx)
+static bool mon_hook_quest(MONRACE_IDX r_idx)
 {
        monster_race *r_ptr = &r_info[r_idx];
 
@@ -3480,7 +3480,7 @@ static bool mon_hook_quest(int r_idx)
  */
 void determine_random_questor(quest_type *q_ptr)
 {
-       int          r_idx;
+       MONRACE_IDX r_idx;
        monster_race *r_ptr;
 
        /* Prepare allocation table */
@@ -3867,7 +3867,7 @@ static byte player_init[MAX_CLASS][3][2] =
  * @param r_idx モンスターID
  * @return 死体を食べられるならTRUEを返す。
  */
-static bool monster_hook_human(int r_idx)
+static bool monster_hook_human(MONRACE_IDX r_idx)
 {
        monster_race *r_ptr = &r_info[r_idx];
 
@@ -5728,7 +5728,7 @@ static bool player_birth_aux(void)
 {
        int i, k, n, cs, os;
 
-       int mode = 0;
+       BIT_FLAGS mode = 0;
 
        bool flag = FALSE;
        bool prev = FALSE;