OSDN Git Service

[Refactor] rbm_type を enum class 化しつつ RaceBlowMethodType に改名。
[hengbandforosx/hengbandosx.git] / src / monster-floor / one-monster-placer.cpp
index 35c6ef8..09040aa 100644 (file)
@@ -68,7 +68,7 @@ static bool monster_hook_tanuki(PlayerType *player_ptr, MONRACE_IDX r_idx)
         return false;
 
     for (int i = 0; i < 4; i++)
-        if (r_ptr->blow[i].method == RBM_EXPLODE)
+        if (r_ptr->blow[i].method == RaceBlowMethodType::EXPLODE)
             return false;
 
     return (*(get_monster_hook(player_ptr)))(player_ptr, r_idx);