From 732398c69ea38a2b737768b9df7d298db2b8da6f Mon Sep 17 00:00:00 2001 From: kervala Date: Sun, 20 Dec 2015 18:59:45 +0100 Subject: [PATCH] Changed: Also fix medium and heavy boots with a dress --- code/ryzom/client/src/interface_v3/character_3d.cpp | 2 +- code/ryzom/client/src/player_cl.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/ryzom/client/src/interface_v3/character_3d.cpp b/code/ryzom/client/src/interface_v3/character_3d.cpp index b9d289be9..85eac6314 100644 --- a/code/ryzom/client/src/interface_v3/character_3d.cpp +++ b/code/ryzom/client/src/interface_v3/character_3d.cpp @@ -441,7 +441,7 @@ void SCharacter3DSetup::setupFromCS_ModelCol (SLOTTYPE::EVisualSlot s, sint32 mo Parts[part].Name = item->getShapeFemale(); // 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; diff --git a/code/ryzom/client/src/player_cl.cpp b/code/ryzom/client/src/player_cl.cpp index f94fb5e78..20ac5e3b2 100644 --- a/code/ryzom/client/src/player_cl.cpp +++ b/code/ryzom/client/src/player_cl.cpp @@ -543,7 +543,7 @@ void CPlayerCL::equip(SLOTTYPE::EVisualSlot slot, uint index, uint color) std::string shapeName = _Gender == GSGENDER::female ? item->getShapeFemale():item->getShape(); // 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;