OSDN Git Service

#38768 [Fix] Oopsもろとも置換で消してしまった重要処理を差し戻し。
[hengband/hengband.git] / src / monster2.c
index faa095b..f60cf8f 100644 (file)
@@ -1976,6 +1976,7 @@ void sanity_blast(monster_type *m_ptr, bool necro)
                        return; /* Cannot see it for some reason */
 
                if (!(r_ptr->flags2 & RF2_ELDRITCH_HORROR))
+                       return;
 
                if (is_pet(m_ptr))
                        return; /* Pet eldritch horrors are safe most of the time */