Merge pull request #69 from Nefertumm/fixBuild

Fix: build
This commit is contained in:
acidmanifesto
2022-02-05 16:17:17 -05:00
committed by GitHub
2 changed files with 5 additions and 5 deletions

View File

@@ -50,9 +50,9 @@ void Transmogrification::LoadPlayerSets(ObjectGuid pGUID)
{
do
{
uint8 PresetID = (*result)[0].GetUInt8();
std::string SetName = (*result)[1].GetString();
std::istringstream SetData((*result)[2].GetString());
uint8 PresetID = (*result)[0].Get<uint8>();
std::string SetName = (*result)[1].Get<std::string>();
std::istringstream SetData((*result)[2].Get<std::string>());
while (SetData.good())
{
uint32 slot;

View File

@@ -410,8 +410,8 @@ public:
{
do
{
ObjectGuid itemGUID = ObjectGuid::Create<HighGuid::Item>((*result)[0].GetUInt32());
uint32 fakeEntry = (*result)[1].GetUInt32();
ObjectGuid itemGUID = ObjectGuid::Create<HighGuid::Item>((*result)[0].Get<uint32>());
uint32 fakeEntry = (*result)[1].Get<uint32>();
if (sObjectMgr->GetItemTemplate(fakeEntry))
{
sT->dataMap[itemGUID] = playerGUID;