*/
#include "angband.h"
+#include "util.h"
+
#include "birth.h"
+#include "bldg.h"
#include "cmd-activate.h"
#include "cmd-eat.h"
#include "cmd-hissatsu.h"
#include "monster-status.h"
#include "monsterrace-hook.h"
#include "floor-save.h"
+#include "feature.h"
+#include "player-skill.h"
#include "view-mainwindow.h"
#include "dungeon-file.h"
{
BIT_FLAGS flgs[TR_FLAG_SIZE];
o_ptr = &inventory[i];
-
- /* Skip non-objects */
if (!o_ptr->k_idx) continue;
- /* Extract the item flags */
object_flags(o_ptr, flgs);
if (have_flag(flgs, TR_TELEPORT))
{
/* Get the object */
object_type *o_ptr = &inventory[i];
-
- /* Skip non-objects */
if (!o_ptr->k_idx) continue;
/* Recharge activatable objects */
{
object_type *o_ptr = &inventory[i];
object_kind *k_ptr = &k_info[o_ptr->k_idx];
-
- /* Skip non-objects */
if (!o_ptr->k_idx) continue;
/* Examine all charging rods or stacks of charging rods. */