OSDN Git Service

[Refactor] #40466 Separated shape-changer.c/h from player-effects.c/h
[hengband/hengband.git] / src / realm / realm-life.c
index 2af7072..ed14503 100644 (file)
@@ -1,13 +1,27 @@
-#include "angband.h"
-#include "cmd-spell.h"
-#include "spells-status.h"
-#include "spells-floor.h"
-#include "spells.h"
-#include "player-status.h"
-#include "player-effects.h"
-#include "floor.h"
-#include "targeting.h"
-#include "realm/realm-life.h"
+#include "realm/realm-life.h"
+#include "cmd-action/cmd-spell.h"
+#include "floor/floor.h"
+#include "io/targeting.h"
+#include "player/digestion-processor.h"
+#include "spell-kind/spells-curse-removal.h"
+#include "spell-kind/spells-detection.h"
+#include "spell-kind/spells-floor.h"
+#include "spell-kind/spells-genocide.h"
+#include "spell-kind/spells-grid.h"
+#include "spell-kind/spells-launcher.h"
+#include "spell-kind/spells-lite.h"
+#include "spell-kind/spells-neighbor.h"
+#include "spell-kind/spells-perception.h"
+#include "spell-kind/spells-recall.h"
+#include "spell-kind/spells-sight.h"
+#include "spell/spell-types.h"
+#include "spell/spells-status.h"
+#include "spell/spells3.h"
+#include "status/bad-status-setter.h"
+#include "status/buff-setter.h"
+#include "status/element-resistance.h"
+#include "status/experience.h"
+#include "status/temporary-resistance.h"
 
 /*!
 * @brief 生命領域魔法の各処理を行う
@@ -261,7 +275,7 @@ concptr do_life_spell(player_type *caster_ptr, SPELL_IDX spell, spell_type mode)
                {
                        if (cast)
                        {
-                               if (!ident_spell(caster_ptr, FALSE)) return NULL;
+                               if (!ident_spell(caster_ptr, FALSE, 0)) return NULL;
                        }
                }
                break;
@@ -456,7 +470,7 @@ concptr do_life_spell(player_type *caster_ptr, SPELL_IDX spell, spell_type mode)
                {
                        if (cast)
                        {
-                               if (!identify_fully(caster_ptr, FALSE)) return NULL;
+                               if (!identify_fully(caster_ptr, FALSE, 0)) return NULL;
                        }
                }
                break;