OSDN Git Service

[Refactor] #37353 コメント整理 / Refactor comments.
authorDeskull <deskull@users.sourceforge.jp>
Fri, 14 Dec 2018 16:51:36 +0000 (01:51 +0900)
committerDeskull <deskull@users.sourceforge.jp>
Fri, 14 Dec 2018 16:51:36 +0000 (01:51 +0900)
src/monster-process.c
src/object2.c
src/xtra2.c

index 1dcc6e7..7e47b96 100644 (file)
@@ -496,7 +496,6 @@ static bool get_moves_aux2(MONSTER_IDX m_idx, POSITION *yp, POSITION *xp)
        {
                int cost;
 
-               /* Get the location */
                y = y1 + ddy_ddd[i];
                x = x1 + ddx_ddd[i];
 
@@ -630,7 +629,6 @@ static bool get_moves_aux(MONSTER_IDX m_idx, POSITION *yp, POSITION *xp, bool no
        /* Check nearby grids, diagonals first */
        for (i = 7; i >= 0; i--)
        {
-               /* Get the location */
                y = y1 + ddy_ddd[i];
                x = x1 + ddx_ddd[i];
 
@@ -709,7 +707,6 @@ static bool get_fear_moves_aux(MONSTER_IDX m_idx, POSITION *yp, POSITION *xp)
        {
                POSITION dis, s;
 
-               /* Get the location */
                y = fy + ddy_ddd[i];
                x = fx + ddx_ddd[i];
 
index b29d176..8d100e8 100644 (file)
@@ -385,7 +385,6 @@ void compact_objects(int size)
                                /* Acquire monster */
                                m_ptr = &m_list[o_ptr->held_m_idx];
 
-                               /* Get the location */
                                y = m_ptr->fy;
                                x = m_ptr->fx;
 
@@ -396,7 +395,6 @@ void compact_objects(int size)
                        /* Dungeon */
                        else
                        {
-                               /* Get the location */
                                y = o_ptr->iy;
                                x = o_ptr->ix;
                        }
index d08b9f7..616ceeb 100644 (file)
@@ -281,7 +281,6 @@ void check_quest_completion(monster_type *m_ptr)
        object_type forge;
        object_type *o_ptr;
 
-       /* Get the location */
        y = m_ptr->fy;
        x = m_ptr->fx;
 
@@ -584,7 +583,6 @@ void monster_death(MONSTER_IDX m_idx, bool drop_item)
                p_ptr->update |= (PU_MON_LITE);
        }
 
-       /* Get the location */
        y = m_ptr->fy;
        x = m_ptr->fx;