mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-23 15:26:16 +00:00
Changed: Also fix medium and heavy boots with a dress
This commit is contained in:
parent
bb98346cc4
commit
25110257d4
2 changed files with 2 additions and 2 deletions
|
@ -441,7 +441,7 @@ void SCharacter3DSetup::setupFromCS_ModelCol (SLOTTYPE::EVisualSlot s, sint32 mo
|
||||||
Parts[part].Name = item->getShapeFemale();
|
Parts[part].Name = item->getShapeFemale();
|
||||||
|
|
||||||
// use the right type of boots if wearing a caster dress
|
// use the right type of boots if wearing a caster dress
|
||||||
if ((s == SLOTTYPE::FEET_SLOT) && (item->ItemType == ITEM_TYPE::LIGHT_BOOTS))
|
if ((s == SLOTTYPE::FEET_SLOT) && (item->ItemType == ITEM_TYPE::LIGHT_BOOTS || item->ItemType == ITEM_TYPE::MEDIUM_BOOTS || item->ItemType == ITEM_TYPE::HEAVY_BOOTS))
|
||||||
{
|
{
|
||||||
std::string shapeLegs = Parts[Char3DPart_Legs].Name;
|
std::string shapeLegs = Parts[Char3DPart_Legs].Name;
|
||||||
|
|
||||||
|
|
|
@ -543,7 +543,7 @@ void CPlayerCL::equip(SLOTTYPE::EVisualSlot slot, uint index, uint color)
|
||||||
std::string shapeName = _Gender == GSGENDER::female ? item->getShapeFemale():item->getShape();
|
std::string shapeName = _Gender == GSGENDER::female ? item->getShapeFemale():item->getShape();
|
||||||
|
|
||||||
// use the right type of boots if wearing a caster dress
|
// use the right type of boots if wearing a caster dress
|
||||||
if ((slot == SLOTTYPE::FEET_SLOT) && (item->ItemType == ITEM_TYPE::LIGHT_BOOTS))
|
if ((slot == SLOTTYPE::FEET_SLOT) && (item->ItemType == ITEM_TYPE::LIGHT_BOOTS || item->ItemType == ITEM_TYPE::MEDIUM_BOOTS || item->ItemType == ITEM_TYPE::HEAVY_BOOTS))
|
||||||
{
|
{
|
||||||
std::string shapeLegs;
|
std::string shapeLegs;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue