OSDN Git Service

[Refactor] #37353 health_track() を view-mainwindow.c/h に移動。
[hengband/hengband.git] / src / grid.c
index 7d855a3..8bb2f82 100644 (file)
@@ -31,6 +31,7 @@
 #include "feature.h"
 #include "monster-status.h"
 #include "player-status.h"
+#include "player-effects.h"
 #include "spells.h"
 #include "view-mainwindow.h"
 
@@ -2137,23 +2138,6 @@ bool is_explosive_rune_grid(grid_type *g_ptr)
 
 
 /*
- * Track a new monster
- */
-void health_track(MONSTER_IDX m_idx)
-{
-       /* Mount monster is already tracked */
-       if (m_idx && m_idx == p_ptr->riding) return;
-
-       /* Track a new guy */
-       p_ptr->health_who = m_idx;
-
-       /* Redraw (later) */
-       p_ptr->redraw |= (PR_HEALTH);
-}
-
-
-
-/*
  * Hack -- track the given monster race
  */
 void monster_race_track(MONRACE_IDX r_idx)