OSDN Git Service

[Refactor] #37353 コメント整理。 / Refactor comments.
authorDeskull <deskull@users.sourceforge.jp>
Sat, 26 Jan 2019 08:58:33 +0000 (17:58 +0900)
committerDeskull <deskull@users.sourceforge.jp>
Sat, 26 Jan 2019 08:58:33 +0000 (17:58 +0900)
src/cmd2.c
src/shoot.c
src/spells3.c

index cba6e7f..b65b05c 100644 (file)
@@ -2492,7 +2492,6 @@ bool do_cmd_throw(int mult, bool boomerang, OBJECT_IDX shuriken)
 
        if (shuriken) chance *= 2;
 
-       /* Save the old location */
        prev_y = y;
        prev_x = x;
 
@@ -2536,7 +2535,6 @@ bool do_cmd_throw(int mult, bool boomerang, OBJECT_IDX shuriken)
                        Term_xtra(TERM_XTRA_DELAY, msec);
                }
 
-               /* Save the old location */
                prev_y = y;
                prev_x = x;
 
index 280228e..e4045bc 100644 (file)
@@ -495,7 +495,6 @@ void exe_fire(INVENTORY_IDX item, object_type *j_ptr)
                sound(SOUND_SHOOT);
                handle_stuff();
 
-               /* Save the old location */
                prev_y = y;
                prev_x = x;
 
@@ -586,7 +585,6 @@ void exe_fire(INVENTORY_IDX item, object_type *j_ptr)
                                lite_spot(ny, nx);
                        }
 
-                       /* Save the old location */
                        prev_y = y;
                        prev_x = x;
 
index b619ae4..e269d48 100644 (file)
@@ -51,7 +51,6 @@ bool teleport_away(MONSTER_IDX m_idx, POSITION dis, BIT_FLAGS mode)
        /* Paranoia */
        if (!m_ptr->r_idx) return (FALSE);
 
-       /* Save the old location */
        oy = m_ptr->fy;
        ox = m_ptr->fx;
 
@@ -164,8 +163,6 @@ void teleport_monster_to(MONSTER_IDX m_idx, POSITION ty, POSITION tx, int power,
 
        ny = m_ptr->fy;
        nx = m_ptr->fx;
-
-       /* Save the old location */
        oy = m_ptr->fy;
        ox = m_ptr->fx;
 
@@ -374,8 +371,6 @@ bool teleport_player_aux(POSITION dis, BIT_FLAGS mode)
 void teleport_player(POSITION dis, BIT_FLAGS mode)
 {
        POSITION yy, xx;
-
-       /* Save the old location */
        POSITION oy = p_ptr->y;
        POSITION ox = p_ptr->x;
 
@@ -418,8 +413,6 @@ void teleport_player(POSITION dis, BIT_FLAGS mode)
 void teleport_player_away(MONSTER_IDX m_idx, POSITION dis)
 {
        POSITION yy, xx;
-
-       /* Save the old location */
        POSITION oy = p_ptr->y;
        POSITION ox = p_ptr->x;