OSDN Git Service

[Refactor] #37353 object-ego.c/h を作成して関連構造体と変数を移動.
[hengband/hengband.git] / src / init.c
index 3c03b21..36fcac5 100644 (file)
 #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
@@ -1268,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 ***/