OSDN Git Service

[Refactor] #37353 monster_type に floor_ptr * current_floor_ptr を追加。 / Add floor_ptr...
[hengband/hengband.git] / src / monster.h
index 8f0dc67..106139f 100644 (file)
@@ -36,10 +36,12 @@ extern MONSTER_IDX hack_m_idx_ii;
 
 typedef struct monster_type monster_type;
 
+
 struct monster_type
 {
        MONRACE_IDX r_idx;              /* Monster race index 0 = dead. */
        MONRACE_IDX ap_r_idx;   /* Monster race appearance index */
+       struct floor_type *current_floor_ptr;
 
        /* Sub-alignment flags for neutral monsters */
        #define SUB_ALIGN_NEUTRAL 0x0000