OSDN Git Service

[Refactor] #37353 時間停止時のコマンド制限処理を cmd_limit_time_walk() に統合。 / Integrate command...
[hengband/hengband.git] / src / floor-streams.c
index bcc0cee..a8979a0 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);
@@ -322,7 +319,6 @@ void build_streamer(IDX feat, int chance)
                                        }
                                }
 
-                               /* Delete objects */
                                delete_object(ty, tx);
                        }