Core/Misc: Fixed wrong db field accessor functions use

This commit is contained in:
Shauren
2020-04-25 00:30:45 +02:00
parent d6d67a9766
commit 96ec1f16d4
2 changed files with 4 additions and 4 deletions

View File

@@ -81,7 +81,7 @@ void CharacterCache::LoadCharacterCacheStorage()
do
{
Field* fields = result->Fetch();
AddCharacterCacheEntry(ObjectGuid::Create<HighGuid::Player>(fields[0].GetUInt32()) /*guid*/, fields[2].GetUInt32() /*account*/, fields[1].GetString() /*name*/,
AddCharacterCacheEntry(ObjectGuid::Create<HighGuid::Player>(fields[0].GetUInt64()) /*guid*/, fields[2].GetUInt32() /*account*/, fields[1].GetString() /*name*/,
fields[4].GetUInt8() /*gender*/, fields[3].GetUInt8() /*race*/, fields[5].GetUInt8() /*class*/, fields[6].GetUInt8() /*level*/, fields[7].GetUInt32() != 0);
} while (result->NextRow());