OSDN Git Service

[Refactor] #37353 object-ego.c/h を作成して関連構造体と変数を移動.
[hengband/hengband.git] / src / init.c
index 59cf6ea..36fcac5 100644 (file)
@@ -35,6 +35,8 @@
 #include "angband.h"
 #include "util.h"
 
+#include "artifact.h"
+#include "bldg.h"
 #include "init.h"
 #include "quest.h"
 #include "trap.h"
 #include "files.h"
 #include "feature.h"
 #include "floor.h"
+#include "dungeon.h"
+#include "rooms-vault.h"
+#include "player-skill.h"
+#include "player-class.h"
+#include "objectkind.h"
+#include "object-ego.h"
 
 #ifndef MACINTOSH
 #ifdef CHECK_MODIFICATION_TIME
@@ -1264,10 +1272,10 @@ static errr init_other(void)
        message__tail = MESSAGE_BUF;
 
 
-       /*** Prepare the Player inventory ***/
+       /*** Prepare the Player p_ptr->inventory_list ***/
 
        /* Allocate it */
-       C_MAKE(inventory, INVEN_TOTAL, object_type);
+       C_MAKE(p_ptr->inventory_list, INVEN_TOTAL, object_type);
 
 
        /*** Prepare the options ***/