Core/PetHandler: Fix pet level issue on UNIX systems

This commit is contained in:
Maczuga 2016-11-24 20:12:42 +01:00 committed by Shin
parent a9ca43310e
commit 084929c558

View file

@ -163,7 +163,7 @@ uint8 WorldSession::HandleLoadPetFromDBFirstCallback(PreparedQueryResult result,
pet->SetDisplayId(fields[3].GetUInt32());
pet->SetNativeDisplayId(fields[3].GetUInt32());
uint32 petlevel = fields[4].GetUInt8();
uint32 petlevel = fields[4].GetUInt16();
pet->SetUInt32Value(UNIT_NPC_FLAGS, UNIT_NPC_FLAG_NONE);
pet->SetName(fields[8].GetString());