OSDN Git Service

[Refactor] #39970 Moved mutation.c/h to mutation/
[hengband/hengband.git] / src / realm / realm-trump.c
index f4b259f..137d63a 100644 (file)
@@ -2,7 +2,7 @@
 #include "util.h"
 
 #include "cmd-spell.h"
-#include "mutation.h"
+#include "mutation/mutation.h"
 #include "spells-summon.h"
 #include "spells-status.h"
 #include "spells-object.h"
@@ -12,6 +12,8 @@
 #include "effect/spells-effect-util.h"
 #include "realm/realm-trump.h"
 #include "spell/spells-type.h"
+#include "spell/spells2.h"
+#include "spell/spells3.h"
 
 /*!
 * @brief トランプ領域魔法の各処理を行う
@@ -44,7 +46,7 @@ concptr do_trump_spell(player_type *caster_ptr, SPELL_IDX spell, spell_type mode
 
                        if (cast)
                        {
-                               teleport_player(caster_ptr, range, 0L);
+                               teleport_player(caster_ptr, range, TELEPORT_SPONTANEOUS);
                        }
                }
                break;
@@ -105,7 +107,7 @@ concptr do_trump_spell(player_type *caster_ptr, SPELL_IDX spell, spell_type mode
 
                        if (cast)
                        {
-                               teleport_player(caster_ptr, range, 0L);
+                               teleport_player(caster_ptr, range, TELEPORT_SPONTANEOUS);
                        }
                }
                break;
@@ -499,7 +501,7 @@ concptr do_trump_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;