aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Handlers/SpellHandler.cpp
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2020-11-04 21:39:21 +0100
committerShauren <shauren.trinity@gmail.com>2020-12-08 18:16:41 +0100
commitcab4c87d2d7f6d734ef067d6bf50f4b1d338a7bc (patch)
tree2eaf0fd8bc9e937a4c9611e18dd04d5001189036 /src/server/game/Handlers/SpellHandler.cpp
parent16b39a448acbe8ace88550a367be8e6bf565b00d (diff)
Core/PacketIO: Updated most packet structures to 9.0.1
Diffstat (limited to 'src/server/game/Handlers/SpellHandler.cpp')
-rw-r--r--src/server/game/Handlers/SpellHandler.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/server/game/Handlers/SpellHandler.cpp b/src/server/game/Handlers/SpellHandler.cpp
index 5ff33e97bf3..8ccfd1c29c3 100644
--- a/src/server/game/Handlers/SpellHandler.cpp
+++ b/src/server/game/Handlers/SpellHandler.cpp
@@ -541,13 +541,8 @@ void WorldSession::HandleMirrorImageDataRequest(WorldPackets::Spells::GetMirrorI
Guild* guild = player->GetGuild();
- mirrorImageComponentedData.SkinColor = player->m_playerData->SkinID;
- mirrorImageComponentedData.FaceVariation = player->m_playerData->FaceID;
- mirrorImageComponentedData.HairVariation = player->m_playerData->HairStyleID;
- mirrorImageComponentedData.HairColor = player->m_playerData->HairColorID;
- mirrorImageComponentedData.BeardVariation = player->m_playerData->FacialHairStyleID;
- for (uint32 i = 0; i < PLAYER_CUSTOM_DISPLAY_SIZE; ++i)
- mirrorImageComponentedData.CustomDisplay[i] = player->m_playerData->CustomDisplayOption[i];
+ for (UF::ChrCustomizationChoice customization : player->m_playerData->Customizations)
+ mirrorImageComponentedData.Customizations.push_back({ customization.ChrCustomizationOptionID, customization.ChrCustomizationChoiceID });
mirrorImageComponentedData.GuildGUID = (guild ? guild->GetGUID() : ObjectGuid::Empty);
mirrorImageComponentedData.ItemDisplayID.reserve(11);