OSDN Git Service

[Refactor] #39068 summon_kin_type によるグローバル変数渡しを修正.
[hengband/hengband.git] / src / realm-arcane.c
index 05169d8..a1fa21d 100644 (file)
@@ -1,7 +1,16 @@
 #include "angband.h"
+#include "util.h"
+
 #include "cmd-spell.h"
+#include "avatar.h"
+
+#include "spells.h"
+#include "spells-floor.h"
+#include "spells-object.h"
 #include "spells-summon.h"
-#include "projection.h"
+#include "spells-status.h"
+#include "player-status.h"
+#include "player-effects.h"
 
 /*!
 * @brief 秘術領域魔法の各処理を行う
@@ -417,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."));
                                }