OSDN Git Service

[Refactor] #38997 set_superstealth() に player_type * 引数を追加.
[hengband/hengband.git] / src / floor-save.c
index 9d7b621..9b30f03 100644 (file)
@@ -873,7 +873,7 @@ void leave_floor(BIT_FLAGS floor_mode)
        /* Remove all mirrors without explosion */
        remove_all_mirrors(FALSE);
 
-       if (p_ptr->special_defense & NINJA_S_STEALTH) set_superstealth(FALSE);
+       if (p_ptr->special_defense & NINJA_S_STEALTH) set_superstealth(p_ptr, FALSE);
 
        /* New floor is not yet prepared */
        new_floor_id = 0;