OSDN Git Service

[Refactor] #37353 不要なif文を削除。 / Delete disuse if.
authorDeskull <deskull@users.sourceforge.jp>
Tue, 19 Feb 2019 15:03:54 +0000 (00:03 +0900)
committerDeskull <deskull@users.sourceforge.jp>
Tue, 19 Feb 2019 15:03:54 +0000 (00:03 +0900)
src/spells1.c

index ad47fdb..ff7b07e 100644 (file)
@@ -6538,7 +6538,7 @@ bool project(MONSTER_IDX who, POSITION rad, POSITION y, POSITION x, HIT_POINT da
                                if (m_ptr->ml)
                                {
                                        if (!p_ptr->image) monster_race_track(m_ptr->ap_r_idx);
-                                       if (m_ptr->ml) health_track(grid_array[y][x].m_idx);
+                                       health_track(grid_array[y][x].m_idx);
                                }
                        }
                }