OSDN Git Service

[Refactor] #39963 Moved TELEPORT_* from spells.h to spells-util.h and made them enum...
[hengband/hengband.git] / src / wizard2.c
index 85a814c..3084774 100644 (file)
@@ -12,7 +12,7 @@
 
 #include "angband.h"
 #include "core.h"
-#include "term.h"
+#include "gameterm.h"
 
 #include "dungeon.h"
 #include "io/write-diary.h"
@@ -33,7 +33,7 @@
 #include "player-class.h"
 #include "player-inventory.h"
 
-#include "spells.h"
+#include "spell/spells-util.h"
 #include "spells-object.h"
 #include "spells-summon.h"
 #include "spells-status.h"
 #include "dungeon-file.h"
 #include "files.h"
 #include "monster-spell.h"
-#include "bldg.h"
-#include "objectkind.h"
+#include "market/building.h"
+#include "object/object-kind.h"
 #include "targeting.h"
-#include "view-mainwindow.h"
+#include "view/display-main-window.h"
 #include "world.h"
 
 #define NUM_O_SET 8
@@ -1850,7 +1850,7 @@ void do_cmd_debug(player_type *creature_ptr)
 
                /* Phase Door */
        case 'p':
-               teleport_player(creature_ptr, 10, 0L);
+               teleport_player(creature_ptr, 10, TELEPORT_SPONTANEOUS);
                break;
 
                /* Take a Quests */
@@ -1921,7 +1921,7 @@ void do_cmd_debug(player_type *creature_ptr)
 
                /* Teleport */
        case 't':
-               teleport_player(creature_ptr, 100, 0L);
+               teleport_player(creature_ptr, 100, TELEPORT_SPONTANEOUS);
                break;
 
                /* Game Time Setting */