OSDN Git Service

[Refactor] #37353 コメント整理。 / Refactor comments.
authordeskull <deskull@users.sourceforge.jp>
Thu, 14 Mar 2019 06:03:19 +0000 (15:03 +0900)
committerdeskull <deskull@users.sourceforge.jp>
Thu, 14 Mar 2019 06:03:19 +0000 (15:03 +0900)
src/init1.c
src/load.c
src/object2.c

index a73a429..712969f 100644 (file)
@@ -3922,7 +3922,6 @@ static void drop_here(object_type *j_ptr, POSITION y, POSITION x)
        /* Build a stack */
        o_ptr->next_o_idx = g_ptr->o_idx;
 
-       /* Place the object */
        g_ptr->o_idx = o_idx;
 }
 
index 3b9fca0..03c1740 100644 (file)
@@ -2878,7 +2878,6 @@ static errr rd_dungeon_old(void)
                        /* Build a stack */
                        o_ptr->next_o_idx = m_ptr->hold_o_idx;
 
-                       /* Place the object */
                        m_ptr->hold_o_idx = o_idx;
                }
 
@@ -2891,7 +2890,6 @@ static errr rd_dungeon_old(void)
                        /* Build a stack */
                        o_ptr->next_o_idx = g_ptr->o_idx;
 
-                       /* Place the object */
                        g_ptr->o_idx = o_idx;
                }
        }
@@ -3192,7 +3190,6 @@ static errr rd_saved_floor(saved_floor_type *sf_ptr)
                        /* Build a stack */
                        o_ptr->next_o_idx = m_ptr->hold_o_idx;
 
-                       /* Place the object */
                        m_ptr->hold_o_idx = o_idx;
                }
 
@@ -3205,7 +3202,6 @@ static errr rd_saved_floor(saved_floor_type *sf_ptr)
                        /* Build a stack */
                        o_ptr->next_o_idx = g_ptr->o_idx;
 
-                       /* Place the object */
                        g_ptr->o_idx = o_idx;
                }
        }
index cf99eea..c5e6355 100644 (file)
@@ -4438,11 +4438,8 @@ void place_object(POSITION y, POSITION x, BIT_FLAGS mode)
                /* Build a stack */
                o_ptr->next_o_idx = g_ptr->o_idx;
 
-               /* Place the object */
                g_ptr->o_idx = o_idx;
-
                note_spot(y, x);
-
                lite_spot(y, x);
        }
        else
@@ -4552,11 +4549,8 @@ void place_gold(POSITION y, POSITION x)
                /* Build a stack */
                o_ptr->next_o_idx = g_ptr->o_idx;
 
-               /* Place the object */
                g_ptr->o_idx = o_idx;
-
                note_spot(y, x);
-
                lite_spot(y, x);
        }
 }
@@ -4876,7 +4870,6 @@ OBJECT_IDX drop_near(object_type *j_ptr, PERCENTAGE chance, POSITION y, POSITION
                /* Build a stack */
                j_ptr->next_o_idx = g_ptr->o_idx;
 
-               /* Place the object */
                g_ptr->o_idx = o_idx;
 
                /* Success */