mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 18:52:22 +00:00
Fixed Armor Tinting (players and NPCs) that was broken during a previous update.
This commit is contained in:
+11
-1
@@ -213,11 +213,21 @@ void WorldDatabase::GetCharSelectInfo(uint32 account_id, CharacterSelect_Struct*
|
||||
}
|
||||
else
|
||||
{
|
||||
uint32 color = 0;
|
||||
if (pp.item_tint[matslot].rgb.use_tint)
|
||||
{
|
||||
color = pp.item_tint[matslot].color;
|
||||
}
|
||||
else
|
||||
{
|
||||
color = inst->GetColor();
|
||||
}
|
||||
|
||||
// Armor Materials/Models
|
||||
cs->equip[char_num][matslot].material = item->Material;
|
||||
cs->equip[char_num][matslot].elitematerial = item->EliteMaterial;
|
||||
cs->equip[char_num][matslot].heroforgemodel = inst->GetOrnamentHeroModel(matslot);
|
||||
cs->equip[char_num][matslot].color.color = inst->GetColor();
|
||||
cs->equip[char_num][matslot].color.color = color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user