From 2ed6bd98104171ead9751dcfb4341cc25bb38831 Mon Sep 17 00:00:00 2001 From: Nefertumm Date: Sat, 5 Feb 2022 17:24:58 -0300 Subject: [PATCH] Fix: build --- src/Transmogrification.cpp | 6 +++--- src/transmog_scripts.cpp | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Transmogrification.cpp b/src/Transmogrification.cpp index 7de5658..bfc762c 100644 --- a/src/Transmogrification.cpp +++ b/src/Transmogrification.cpp @@ -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(); + std::string SetName = (*result)[1].Get(); + std::istringstream SetData((*result)[2].Get()); while (SetData.good()) { uint32 slot; diff --git a/src/transmog_scripts.cpp b/src/transmog_scripts.cpp index bc3ff3a..cbc7190 100644 --- a/src/transmog_scripts.cpp +++ b/src/transmog_scripts.cpp @@ -410,8 +410,8 @@ public: { do { - ObjectGuid itemGUID = ObjectGuid::Create((*result)[0].GetUInt32()); - uint32 fakeEntry = (*result)[1].GetUInt32(); + ObjectGuid itemGUID = ObjectGuid::Create((*result)[0].Get()); + uint32 fakeEntry = (*result)[1].Get(); if (sObjectMgr->GetItemTemplate(fakeEntry)) { sT->dataMap[itemGUID] = playerGUID;