*/
#include "angband.h"
+#include "core.h"
#include "util.h"
+#include "realm-song.h"
+#include "autopick.h"
#include "dungeon.h"
#include "floor.h"
#include "melee.h"
#include "player-move.h"
#include "player-status.h"
#include "player-effects.h"
+#include "player-class.h"
#include "spells-floor.h"
#include "feature.h"
#include "warning.h"
#include "view-mainwindow.h"
#include "world.h"
#include "objectkind.h"
+#include "autopick.h"
+#include "targeting.h"
#ifdef TRAVEL
{
msg_format(_("空を飛ばないと%sの上には行けない。", "You need to fly to go through the %s."), f_name + f_info[get_feat_mimic(g_ptr)].name);
free_turn(p_ptr);
- running = 0;
+ p_ptr->running = 0;
oktomove = FALSE;
}
}
/* Decrease the run counter */
- if (--running <= 0) return;
+ if (--p_ptr->running <= 0) return;
/* Take time */
take_turn(p_ptr, 100);
}
/* Cancel running */
- if (running)
+ if (p_ptr->running)
{
/* Cancel */
- running = 0;
+ p_ptr->running = 0;
/* Check for new panel if appropriate */
if (center_player && !center_running) verify_panel();