OSDN Git Service

[Fix] #38993 current_floor -> current_floor_ptr
[hengband/hengband.git] / src / chest.c
index 2616d0d..055b444 100644 (file)
@@ -104,7 +104,7 @@ void chest_death(bool scatter, POSITION y, POSITION x, OBJECT_IDX o_idx)
        }
 
        /* Reset the object level */
-       object_level = current_floor->base_level;
+       object_level = current_floor_ptr->base_level;
 
        /* No longer opening a chest */
        opening_chest = FALSE;