OSDN Git Service

[refactor] #39076 /* Skip non-objects */ を削除。
[hengband/hengband.git] / src / files.c
index 6be65c5..d1d7c35 100644 (file)
 
 
 #include "angband.h"
+#include "util.h"
+
+#include "birth.h"
 #include "files.h"
 
+#include "bldg.h"
+
 #include "world.h"
 #include "player-status.h"
 #include "sort.h"
@@ -40,6 +45,7 @@
 #include "floor-events.h"
 #include "dungeon-file.h"
 #include "init.h"
+#include "monster-spell.h"
 
 
 /*
@@ -6372,8 +6378,6 @@ void show_info(void)
        for (i = 0; i < INVEN_TOTAL; i++)
        {
                o_ptr = &inventory[i];
-
-               /* Skip non-objects */
                if (!o_ptr->k_idx) continue;
 
                /* Aware and Known */
@@ -6389,8 +6393,6 @@ void show_info(void)
                for (j = 0; j < st_ptr->stock_num; j++)
                {
                        o_ptr = &st_ptr->stock[j];
-
-                       /* Skip non-objects */
                        if (!o_ptr->k_idx) continue;
 
                        /* Aware and Known */