OSDN Git Service

[Refactor] #1473 Changed the name 'RealmHex' to 'SpellHex'
[hengbandforosx/hengbandosx.git] / src / mspell / mspell-attack.cpp
index 029173d..32a8a8e 100644 (file)
@@ -188,7 +188,7 @@ static bool check_mspell_unexploded(player_type *player_ptr, msa_type *msa_ptr)
         return true;
     }
 
-    if (!spell_is_inate(msa_ptr->thrown_spell) && RealmHex(player_ptr).check_hex_barrier(msa_ptr->m_idx, HEX_ANTI_MAGIC)) {
+    if (!spell_is_inate(msa_ptr->thrown_spell) && SpellHex(player_ptr).check_hex_barrier(msa_ptr->m_idx, HEX_ANTI_MAGIC)) {
         msg_format(_("反魔法バリアが%^sの呪文をかき消した。", "Anti magic barrier cancels the spell which %^s casts."), msa_ptr->m_name);
         return true;
     }