|
|
|
@ -239,7 +239,7 @@ void CItemSheet::build(const NLGEORGES::UFormElm &item)
|
|
|
|
|
debug(toString("The slot name %d is Empty.", i));
|
|
|
|
|
|
|
|
|
|
// Push the possible slots for the item in the list.
|
|
|
|
|
SlotBF|= SINT64_CONSTANT(1)<< (SLOTTYPE::stringToSlotType(NLMISC::strupr(slotName)));
|
|
|
|
|
SlotBF|= SINT64_CONSTANT(1)<< (SLOTTYPE::stringToSlotType(NLMISC::toUpper(slotName)));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -258,7 +258,7 @@ void CItemSheet::build(const NLGEORGES::UFormElm &item)
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
Family = (ITEMFAMILY::EItemFamily) ITEMFAMILY::stringToItemFamily(NLMISC::strupr( family) );
|
|
|
|
|
Family = (ITEMFAMILY::EItemFamily) ITEMFAMILY::stringToItemFamily(NLMISC::toUpper( family) );
|
|
|
|
|
if(Family == ITEMFAMILY::UNDEFINED)
|
|
|
|
|
debug("Item Family Undefined.");
|
|
|
|
|
}
|
|
|
|
@ -272,7 +272,7 @@ void CItemSheet::build(const NLGEORGES::UFormElm &item)
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
ItemType = (ITEM_TYPE::TItemType) ITEM_TYPE::stringToItemType(NLMISC::strupr(itemtype) );
|
|
|
|
|
ItemType = (ITEM_TYPE::TItemType) ITEM_TYPE::stringToItemType(NLMISC::toUpper(itemtype) );
|
|
|
|
|
if (ItemType == ITEM_TYPE::UNDEFINED)
|
|
|
|
|
debug("Item Type Undefined.");
|
|
|
|
|
}
|
|
|
|
|