OSDN Git Service

[Refactor] #40482 Separated spells-curse-removal.c/h
[hengband/hengband.git] / src / realm / realm-life.c
index 8fdd9cd..6b6d3cd 100644 (file)
@@ -1,14 +1,23 @@
-#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 "spell/spells-type.h"
+#include "realm/realm-life.h"
+#include "cmd-action/cmd-spell.h"
+#include "floor/floor.h"
+#include "io/targeting.h"
+#include "player/bad-status-setter.h"
+#include "player/player-effects.h"
+#include "player/player-status.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-lite.h"
+#include "spell-kind/spells-launcher.h"
+#include "spell-kind/spells-neighbor.h"
+#include "spell-kind/spells-recall.h"
+#include "spell-kind/spells-sight.h"
+#include "spell/spells-status.h"
+#include "spell/spell-types.h"
+#include "spell/spells3.h"
 
 /*!
 * @brief 生命領域魔法の各処理を行う
@@ -262,7 +271,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;
@@ -457,7 +466,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;