OSDN Git Service

Merge branch 'master' of git.sourceforge.jp:/gitroot/hengband/hengband
[hengband/hengband.git] / src / birth.c
index ac5ee04..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];
                
@@ -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;