OSDN Git Service

呪いがプレイヤーの反射で跳ね返っていたので、修正。project_p()にflgを渡すようにした。
authormogami <mogami@0568b783-4c39-0410-ac80-bf13821ea2a2>
Wed, 14 Aug 2002 10:02:32 +0000 (10:02 +0000)
committermogami <mogami@0568b783-4c39-0410-ac80-bf13821ea2a2>
Wed, 14 Aug 2002 10:02:32 +0000 (10:02 +0000)
src/mspells1.c

index fcff378..fb03e20 100644 (file)
@@ -511,7 +511,7 @@ static void beam(int m_idx, int typ, int dam_hp, int monspell, bool learnable)
  */
 static void breath(int y, int x, int m_idx, int typ, int dam_hp, int rad, bool breath, int monspell, bool learnable)
 {
-       int flg = PROJECT_GRID | PROJECT_ITEM | PROJECT_KILL | PROJECT_PLAYER;
+       int flg = PROJECT_GRID | PROJECT_ITEM | PROJECT_KILL | PROJECT_PLAYER | PROJECT_NO_REF;
 
        monster_type *m_ptr = &m_list[m_idx];
        monster_race *r_ptr = &r_info[m_ptr->r_idx];