//==========================================
// AI_CanUseArmor
// Check if we can use the armor
//==========================================
qboolean AI_CanUseArmor (gitem_t *item, edict_t *other)
{
	int				old_armor_index;
	gitem_armor_t	*oldinfo;
	gitem_armor_t	*newinfo;
	int				newcount;
	float			salvage;
	int				salvagecount;
	edict_t			*tempent;
	qboolean		canuse;

	tempent = G_Spawn();
	tempent->item = item;
	trap_LinkEntity (tempent);

	canuse = Pickup_Armor(tempent, other);

	G_FreeEdict (tempent);
	
	if (!canuse)
		return qfalse;