From 2c167fb360f599832aaa3052036632f7c87cd86d Mon Sep 17 00:00:00 2001 From: kaetemi Date: Thu, 27 May 2021 11:19:43 +0800 Subject: [PATCH] Don't apply skin color to weapons in info preview, caused by conflicting naming of lead weapon textures, fix ryzomclassic/issues#201 --- ryzom/client/src/interface_v3/character_3d.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ryzom/client/src/interface_v3/character_3d.cpp b/ryzom/client/src/interface_v3/character_3d.cpp index 8d6b30c51..6e2e5a16d 100644 --- a/ryzom/client/src/interface_v3/character_3d.cpp +++ b/ryzom/client/src/interface_v3/character_3d.cpp @@ -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