OSDN Git Service

[Refactor] #40514 player_type の kill_wall 変数を廃止. / Abolished kill_wall variable in...
[hengband/hengband.git] / src / player / player-status-flags.c
index 29ac07b..375f1a1 100644 (file)
@@ -339,7 +339,7 @@ void has_no_flowed(player_type *creature_ptr)
 
     creature_ptr->no_flowed = FALSE;
 
-    if (has_pass_wall(creature_ptr) && !creature_ptr->kill_wall)
+    if (has_pass_wall(creature_ptr) && !has_kill_wall(creature_ptr))
         creature_ptr->no_flowed = TRUE;
 
     for (int i = 0; i < INVEN_PACK; i++) {