Don't apply skin color to weapons in info preview, caused by conflicting naming of lead weapon textures, fix ryzomclassic/issues#201

develop
kaetemi 4 years ago
parent b9bdabd1f0
commit 2c167fb360
No known key found for this signature in database
GPG Key ID: 9873C4D40BB479BC

@ -898,7 +898,7 @@ void CCharacter3D::setup (const SCharacter3DSetup &c3ds)
if (c3ds.People != EGSPD::CPeople::Undefined)
if ((c3ds.People != _CurrentSetup.People) || bInstanceRebuilt || bQualityRebuilt)
{
if (!_Instances[i].empty())
if (!_Instances[i].empty() && i != Char3DPart_HandRightItem && i != Char3DPart_HandLeftItem)
{
ColorSlotManager.setInstanceSlot ( _Instances[i],
0u, // Slot 0 is for skin

Loading…
Cancel
Save