bool checkEquipmentCapacity(uint equipmentSlot, uint capacityRequested)
{
//int capacity = itemManager.getEquipSlotCapacity(equipmentSlot);
//// If the equipement slot doesn't exist, we can't equip on it.
//if (capacity <= 0)
// return false;
//// Test whether the slot capacity requested is reached.
//for (EquipData::const_iterator it = mPoss.equipSlots.begin(),
// it_end = mPoss.equipSlots.end(); it != it_end; ++it)
//{
// if (it.first == equipmentSlot)
// {
// if (it.second.itemInstance != 0)
// {
// capacity--;
// }
// }
//}
//assert(capacity >= 0); // A should never happen case.
//if (capacity < (int)capacityRequested)
// return false;
return true;
}