{
for (x = 0; x < cur_wid; x++)
{
- grid_type *g_ptr = ¤t_floor->grid_array[y][x];
+ grid_type *g_ptr = ¤t_floor_ptr->grid_array[y][x];
/* Assume lit */
g_ptr->info |= (CAVE_GLOW);
if (p_ptr->special_defense & NINJA_S_STEALTH)
{
- if (current_floor->grid_array[p_ptr->y][p_ptr->x].info & CAVE_GLOW) set_superstealth(FALSE);
+ if (current_floor_ptr->grid_array[p_ptr->y][p_ptr->x].info & CAVE_GLOW) set_superstealth(FALSE);
}
}
{
for (x = 0; x < cur_wid; x++)
{
- grid_type *g_ptr = ¤t_floor->grid_array[y][x];
+ grid_type *g_ptr = ¤t_floor_ptr->grid_array[y][x];
/* Feature code (applying "mimic" field) */
feature_type *f_ptr = &f_info[get_feat_mimic(g_ptr)];
if (p_ptr->special_defense & NINJA_S_STEALTH)
{
- if (current_floor->grid_array[p_ptr->y][p_ptr->x].info & CAVE_GLOW) set_superstealth(FALSE);
+ if (current_floor_ptr->grid_array[p_ptr->y][p_ptr->x].info & CAVE_GLOW) set_superstealth(FALSE);
}
}
{
for (y = 0; y < cur_hgt; ++y)
{
- MONSTER_IDX m_idx = current_floor->grid_array[y][x].m_idx;
+ MONSTER_IDX m_idx = current_floor_ptr->grid_array[y][x].m_idx;
if (m_idx > 0 && is_hostile(&m_list[m_idx]))
{