OSDN Git Service

[Refactor] #37353 files.h を追加して宣言を分離。
[hengband/hengband.git] / src / autopick.c
index 85042d6..8a980eb 100644 (file)
 #include "angband.h"
 #include "store.h"
 #include "player-status.h"
+#include "player-move.h"
+#include "object-flavor.h"
 #include "object-hook.h"
 
+#include "files.h"
+
 #define MAX_LINELEN 1024
 
 /*
@@ -1709,9 +1713,7 @@ void autopick_pickup_items(grid_type *g_ptr)
        {
                int idx;
                        object_type *o_ptr = &current_floor_ptr->o_list[this_o_idx];
-               
-               /* Acquire next object */
-               next_o_idx = o_ptr->next_o_idx;
+                               next_o_idx = o_ptr->next_o_idx;
 
                idx = is_autopick(o_ptr);