++
This commit is contained in:
+1
-1
@@ -55,4 +55,4 @@ if(BUILD_TESTING)
|
||||
GIT_TAG v2.13.9
|
||||
GIT_SHALLOW 1)
|
||||
FetchContent_MakeAvailable(Catch2)
|
||||
endif()
|
||||
endif()
|
||||
@@ -32615,11 +32615,7 @@ std::string Player::GetCharacterSelectOutfit() const
|
||||
|
||||
uint32 itemModifiedAppearanceId = transmogOutfitSlot.ItemModifiedAppearanceID;
|
||||
if (!isTransmogDisplayed(static_cast<TransmogOutfitDisplayType>(*transmogOutfitSlot.AppearanceDisplayType)))
|
||||
itemModifiedAppearanceId = m_activePlayerData->ViewedOutfit->Slots[slotInfo->SlotIndex].ItemModifiedAppearanceID;
|
||||
|
||||
uint32 spellItemEnchantmentId = transmogOutfitSlot.SpellItemEnchantmentID;
|
||||
if (!isTransmogDisplayed(static_cast<TransmogOutfitDisplayType>(*transmogOutfitSlot.IllusionDisplayType)))
|
||||
spellItemEnchantmentId = m_activePlayerData->ViewedOutfit->Slots[slotInfo->SlotIndex].SpellItemEnchantmentID;
|
||||
itemModifiedAppearanceId = m_playerData->VisibleItems[i].ItemModifiedAppearanceID;
|
||||
|
||||
InventoryType inventoryType = INVTYPE_NON_EQUIP;
|
||||
int32 displayId = 0;
|
||||
@@ -32638,9 +32634,12 @@ std::string Player::GetCharacterSelectOutfit() const
|
||||
displayId = itemAppearance->ItemDisplayInfoID;
|
||||
}
|
||||
|
||||
if (SpellItemEnchantmentEntry const* spellItemEnchantment = sSpellItemEnchantmentStore.LookupEntry(spellItemEnchantmentId))
|
||||
if (SpellItemEnchantmentEntry const* spellItemEnchantment = sSpellItemEnchantmentStore.LookupEntry(transmogOutfitSlot.SpellItemEnchantmentID))
|
||||
itemVisual = spellItemEnchantment->ItemVisual;
|
||||
|
||||
if (!isTransmogDisplayed(static_cast<TransmogOutfitDisplayType>(*transmogOutfitSlot.IllusionDisplayType)))
|
||||
itemVisual = m_playerData->VisibleItems[i].ItemVisual;
|
||||
|
||||
if (TransmogOutfitSlotInfoEntry const* secondarySlot = sTransmogOutfitSlotInfoStore.LookupEntry(slotInfo->Slot->SecondarySlotID))
|
||||
{
|
||||
if (TransmogMgr::TransmogOutfitSlotAndOptionInfo const* secondarySlotInfo = TransmogMgr::GetSlotAndOption(secondarySlot->GetSlot(), transmogSlotOption))
|
||||
@@ -32649,7 +32648,7 @@ std::string Player::GetCharacterSelectOutfit() const
|
||||
|
||||
secondaryItemModifiedAppearanceId = secondaryTransmogOutfitSlot.ItemModifiedAppearanceID;
|
||||
if (!isTransmogDisplayed(static_cast<TransmogOutfitDisplayType>(*secondaryTransmogOutfitSlot.AppearanceDisplayType)))
|
||||
secondaryItemModifiedAppearanceId = m_activePlayerData->ViewedOutfit->Slots[secondarySlotInfo->SlotIndex].ItemModifiedAppearanceID;
|
||||
secondaryItemModifiedAppearanceId = m_playerData->VisibleItems[i].SecondaryItemModifiedAppearanceID;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user