OSDN Git Service

[Refactor] #37353 聖浄の杖の効果を cleasing_nova() に分離。 / Separate implementation of 'staff...
[hengband/hengband.git] / src / floor-streams.c
index bcc0cee..46e5600 100644 (file)
@@ -264,8 +264,6 @@ void build_streamer(IDX feat, int chance)
                                if (!in_bounds2(ty, tx)) continue;
                                break;
                        }
-
-                       /* Access the grid */
                        c_ptr = &cave[ty][tx];
                        f_ptr = &f_info[c_ptr->feat];
 
@@ -295,7 +293,6 @@ void build_streamer(IDX feat, int chance)
                                /* Scan all objects in the grid */
                                for (this_o_idx = c_ptr->o_idx; this_o_idx; this_o_idx = next_o_idx)
                                {
-                                       /* Acquire object */
                                        object_type *o_ptr = &o_list[this_o_idx];
 
                                        /* Acquire next object */
@@ -309,7 +306,7 @@ void build_streamer(IDX feat, int chance)
 
                                                if (cheat_peek)
                                                {
-                                                       char o_name[MAX_NLEN];
+                                                       GAME_TEXT o_name[MAX_NLEN];
                                                        object_desc(o_name, o_ptr, (OD_NAME_ONLY | OD_STORE));
                                                        msg_format(_("伝説のアイテム (%s) はストリーマーにより削除された。",
                                                                "Artifact (%s) was deleted by streamer."), o_name);