OSDN Git Service

火炎ブレス持ちにとっての火炎2重耐性の魔力消去条件にエンバグがあり, 元
authornothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Mon, 22 Sep 2003 16:32:25 +0000 (16:32 +0000)
committernothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Mon, 22 Sep 2003 16:32:25 +0000 (16:32 +0000)
種族がバルログの場合に変身した状態で火炎2重耐性があれば消去対象になっ
ていたバグの修正.

src/mspells1.c

index 2887188..7056e52 100644 (file)
@@ -872,7 +872,7 @@ static bool dispel_check(int m_idx)
 
        if (r_ptr->flags4 & RF4_BR_FIRE)
        {
-               if (!(prace_is_(RACE_DEMON) && p_ptr->lev > 44))
+               if (!((p_ptr->prace == RACE_DEMON) && p_ptr->lev > 44))
                {
                        if (!p_ptr->immune_fire && (p_ptr->oppose_fire || music_singing(MUSIC_RESIST))) return (TRUE);
                        if (p_ptr->special_defense & DEFENSE_FIRE) return (TRUE);