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 do
{ {
uint8 PresetID = (*result)[0].GetUInt8(); uint8 PresetID = (*result)[0].Get<uint8>();
std::string SetName = (*result)[1].GetString(); std::string SetName = (*result)[1].Get<std::string>();
std::istringstream SetData((*result)[2].GetString()); std::istringstream SetData((*result)[2].Get<std::string>());
while (SetData.good()) while (SetData.good())
{ {
uint32 slot; uint32 slot;

View File

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