static int exe_curse_removal(player_type *creature_ptr, int all)
{
int cnt = 0;
- for (inventory_slot_type i = INVEN_RARM; i < INVEN_TOTAL; i++) {
+ for (int i = INVEN_MAIN_HAND; i < INVEN_TOTAL; i++) {
object_type *o_ptr = &creature_ptr->inventory_list[i];
if (!o_ptr->k_idx)
continue;
o_ptr->feeling = FEEL_NONE;
creature_ptr->update |= (PU_BONUS);
- creature_ptr->window |= (PW_EQUIP);
+ creature_ptr->window_flags |= (PW_EQUIP);
cnt++;
}