• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revision77be3154fcb50b98846d31363a85d17fe8abf3d4 (tree)
Time2019-06-13 23:58:06
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

[Refactor] #39076 冗長なコメントを削除 (/* Track a new monster */)

Change Summary

Incremental Difference

--- a/src/melee1.c
+++ b/src/melee1.c
@@ -2185,7 +2185,6 @@ bool py_attack(POSITION y, POSITION x, COMBAT_OPTION_IDX mode)
21852185 /* Auto-Recall if possible and visible */
21862186 if (!p_ptr->image) monster_race_track(m_ptr->ap_r_idx);
21872187
2188- /* Track a new monster */
21892188 health_track(g_ptr->m_idx);
21902189 }
21912190
--- a/src/mind.c
+++ b/src/mind.c
@@ -1694,8 +1694,6 @@ static bool cast_ninja_spell(int spell)
16941694 {
16951695 /* Auto-Recall if possible and visible */
16961696 if (!p_ptr->image) monster_race_track(m_ptr->ap_r_idx);
1697-
1698- /* Track a new monster */
16991697 health_track(m_idx);
17001698 }
17011699
--- a/src/player-move.c
+++ b/src/player-move.c
@@ -1021,8 +1021,6 @@ void move_player(DIRECTION dir, bool do_pickup, bool break_trap)
10211021 {
10221022 /* Auto-Recall if possible and visible */
10231023 if (!p_ptr->image) monster_race_track(m_ptr->ap_r_idx);
1024-
1025- /* Track a new monster */
10261024 health_track(g_ptr->m_idx);
10271025 }
10281026
Show on old repository browser