verify_panel(creature_ptr);
creature_ptr->update |= PU_MONSTERS;
creature_ptr->redraw |= PR_MAP;
- creature_ptr->window |= PW_OVERHEAD;
+ creature_ptr->window_flags |= PW_OVERHEAD;
handle_stuff(creature_ptr);
target_set_prepare(creature_ptr, ts_ptr->mode);
ts_ptr->y = creature_ptr->y;
panel_bounds_center();
creature_ptr->update |= PU_MONSTERS;
creature_ptr->redraw |= PR_MAP;
- creature_ptr->window |= PW_OVERHEAD;
+ creature_ptr->window_flags |= PW_OVERHEAD;
handle_stuff(creature_ptr);
target_set_prepare(creature_ptr, ts_ptr->mode);
ts_ptr->flag = FALSE;
verify_panel(creature_ptr);
creature_ptr->update |= PU_MONSTERS;
creature_ptr->redraw |= PR_MAP;
- creature_ptr->window |= PW_OVERHEAD;
+ creature_ptr->window_flags |= PW_OVERHEAD;
handle_stuff(creature_ptr);
target_set_prepare(creature_ptr, ts_ptr->mode);
ts_ptr->y = creature_ptr->y;
describe_grid_wizard(creature_ptr, ts_ptr);
/* Describe and Prompt (enable "TARGET_LOOK") */
- while ((ts_ptr->query = examine_grid(creature_ptr, ts_ptr->y, ts_ptr->x, ts_ptr->mode | TARGET_LOOK, ts_ptr->info)) == 0)
+ while ((ts_ptr->query = examine_grid(creature_ptr, ts_ptr->y, ts_ptr->x, static_cast<target_type>(ts_ptr->mode | TARGET_LOOK), ts_ptr->info)) == 0)
;
ts_ptr->distance = 0;
verify_panel(creature_ptr);
creature_ptr->update |= (PU_MONSTERS);
creature_ptr->redraw |= (PR_MAP);
- creature_ptr->window |= (PW_OVERHEAD);
+ creature_ptr->window_flags |= (PW_OVERHEAD);
handle_stuff(creature_ptr);
return target_who != 0;
}