mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-29 20:30:54 +00:00
Changed: Also fix medium and heavy boots with a dress
--HG-- branch : develop
This commit is contained in:
parent
08671a2c57
commit
ae19cfe5eb
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