static void calc_to_hit_misc(player_type *creature_ptr);
static DICE_NUMBER calc_to_weapon_dice_num(player_type *creature_ptr, INVENTORY_IDX slot);
-static void calc_to_weapon_dice_side(player_type *creature_ptr, INVENTORY_IDX slot);
+static DICE_NUMBER calc_to_weapon_dice_side(player_type *creature_ptr, INVENTORY_IDX slot);
static void calc_weapon_weight_limit(player_type *creature_ptr);
is_riding_wield_weapon(creature_ptr, i);
calc_num_blow(creature_ptr, i);
creature_ptr->to_dd[i] = calc_to_weapon_dice_num(creature_ptr, INVEN_RARM + i);
- calc_to_weapon_dice_side(creature_ptr, INVEN_RARM + i);
+ creature_ptr->to_ds[i] = calc_to_weapon_dice_side(creature_ptr, INVEN_RARM + i);
}
creature_ptr->monk_armour_aux = heavy_armor(creature_ptr);
return dn;
}
-static void calc_to_weapon_dice_side(player_type *creature_ptr, INVENTORY_IDX slot)
+static DICE_NUMBER calc_to_weapon_dice_side(player_type *creature_ptr, INVENTORY_IDX slot)
{
- int id = slot - INVEN_RARM;
- creature_ptr->to_ds[id] = 0;
+ (creature_ptr); // unused
+ (slot); // unused
+ return 0;
}
/*!