• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

変愚蛮怒のメインリポジトリです


Commit MetaInfo

Revision31df52be02b001fd07946a2793611020f3508ecc (tree)
Time2019-02-20 00:01:13
AuthorDeskull <deskull@user...>
CommiterDeskull

Log Message

[Refactor] #37353 コメント整理。 / Refactor comments.

Change Summary

Incremental Difference

--- a/src/spells1.c
+++ b/src/spells1.c
@@ -3957,7 +3957,6 @@ static bool project_m(MONSTER_IDX who, POSITION r, POSITION y, POSITION x, HIT_P
39573957 /* Redraw the monster grid */
39583958 lite_spot(y, x);
39593959
3960-
39613960 /* Update monster recall window */
39623961 if ((p_ptr->monster_race_idx == m_ptr->r_idx) && (seen || !m_ptr->r_idx))
39633962 {
@@ -5861,10 +5860,7 @@ bool project(MONSTER_IDX who, POSITION rad, POSITION y, POSITION x, HIT_POINT da
58615860
58625861 if (m_ptr->ml)
58635862 {
5864- /* Hack -- auto-recall */
58655863 if (!p_ptr->image) monster_race_track(m_ptr->ap_r_idx);
5866-
5867- /* Hack - auto-track */
58685864 health_track(grid_array[project_m_y][project_m_x].m_idx);
58695865 }
58705866 }
@@ -5888,10 +5884,7 @@ bool project(MONSTER_IDX who, POSITION rad, POSITION y, POSITION x, HIT_POINT da
58885884
58895885 if (m_ptr->ml)
58905886 {
5891- /* Hack -- auto-recall */
58925887 if (!p_ptr->image) monster_race_track(m_ptr->ap_r_idx);
5893-
5894- /* Hack - auto-track */
58955888 health_track(grid_array[project_m_y][project_m_x].m_idx);
58965889 }
58975890 }
@@ -6020,10 +6013,7 @@ bool project(MONSTER_IDX who, POSITION rad, POSITION y, POSITION x, HIT_POINT da
60206013
60216014 if (m_ptr->ml)
60226015 {
6023- /* Hack -- auto-recall */
60246016 if (!p_ptr->image) monster_race_track(m_ptr->ap_r_idx);
6025-
6026- /* Hack - auto-track */
60276017 health_track(grid_array[project_m_y][project_m_x].m_idx);
60286018 }
60296019 }
@@ -6547,10 +6537,7 @@ bool project(MONSTER_IDX who, POSITION rad, POSITION y, POSITION x, HIT_POINT da
65476537
65486538 if (m_ptr->ml)
65496539 {
6550- /* Hack -- auto-recall */
65516540 if (!p_ptr->image) monster_race_track(m_ptr->ap_r_idx);
6552-
6553- /* Hack - auto-track */
65546541 if (m_ptr->ml) health_track(grid_array[y][x].m_idx);
65556542 }
65566543 }
Show on old repository browser