OSDN Git Service

[Refactor] #37353 ウィザードモードフラグ を player_type 構造体から world_type 構造体へ移動.
[hengband/hengband.git] / src / birth.c
index 2ec2288..b623ed4 100644 (file)
@@ -1799,7 +1799,7 @@ static void player_wipe_without_name(player_type *creature_ptr)
 
        /* Assume no cheating */
        creature_ptr->noscore = 0;
-       creature_ptr->wizard = FALSE;
+       current_world_ptr->wizard = FALSE;
 
        /* Not waiting to report score */
        creature_ptr->wait_report_score = FALSE;