OSDN Git Service

[Refactor] #39068 summon_kin_type によるグローバル変数渡しを修正.
[hengband/hengband.git] / src / realm-arcane.c
index 25e2136..a1fa21d 100644 (file)
@@ -1,11 +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 "spells-status.h"
+#include "player-status.h"
+#include "player-effects.h"
 
 /*!
 * @brief 秘術領域魔法の各処理を行う
@@ -424,7 +429,7 @@ concptr do_arcane_spell(SPELL_IDX spell, BIT_FLAGS mode)
                {
                        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."));
                                }