OSDN Git Service

[Refactor] QUESTOR を新定義に合わせた
[hengbandforosx/hengbandosx.git] / src / spell-kind / spells-floor.cpp
index ff37684..2185826 100644 (file)
@@ -344,7 +344,7 @@ bool destroy_area(PlayerType *player_ptr, const POSITION y1, const POSITION x1,
                 {
                     /* Delete the monster (if any) */
                     delete_monster(player_ptr, pos.y, pos.x);
-                } else if (monrace.flags1 & RF1_QUESTOR) {
+                } else if (monrace.misc_flags.has(MonsterMiscType::QUESTOR)) {
                     /* Heal the monster */
                     monster.hp = monster.maxhp;