OSDN Git Service

[Refactor] #39068 summon_kin_type によるグローバル変数渡しを修正.
[hengband/hengband.git] / src / realm-arcane.c
index 10cc1c9..a1fa21d 100644 (file)
@@ -1,9 +1,17 @@
 #include "angband.h"
+#include "util.h"
+
 #include "cmd-spell.h"
-#include "spells-summon.h"
-#include "projection.h"
 #include "avatar.h"
 
+#include "spells.h"
+#include "spells-floor.h"
+#include "spells-object.h"
+#include "spells-summon.h"
+#include "spells-status.h"
+#include "player-status.h"
+#include "player-effects.h"
+
 /*!
 * @brief 秘術領域魔法の各処理を行う
 * @param spell 魔法ID
@@ -418,11 +426,10 @@ concptr do_arcane_spell(SPELL_IDX spell, BIT_FLAGS mode)
        case 25:
                if (name) return _("エレメンタル召喚", "Conjure Elemental");
                if (desc) return _("1体のエレメンタルを召喚する。", "Summons an elemental.");
-
                {
                        if (cast)
                        {
-                               if (!summon_specific(-1, p_ptr->y, p_ptr->x, plev, SUMMON_ELEMENTAL, (PM_ALLOW_GROUP | PM_FORCE_PET), '\0'))
+                               if (!summon_specific(-1, p_ptr->y, p_ptr->x, plev, SUMMON_ELEMENTAL, (PM_ALLOW_GROUP | PM_FORCE_PET)))
                                {
                                        msg_print(_("エレメンタルは現れなかった。", "No Elementals arrive."));
                                }