mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-08 15:58:04 +00:00
Core/PetHandler: Fix pet level issue on UNIX systems
This commit is contained in:
@@ -163,7 +163,7 @@ uint8 WorldSession::HandleLoadPetFromDBFirstCallback(PreparedQueryResult result,
|
|||||||
|
|
||||||
pet->SetDisplayId(fields[3].GetUInt32());
|
pet->SetDisplayId(fields[3].GetUInt32());
|
||||||
pet->SetNativeDisplayId(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->SetUInt32Value(UNIT_NPC_FLAGS, UNIT_NPC_FLAG_NONE);
|
||||||
pet->SetName(fields[8].GetString());
|
pet->SetName(fields[8].GetString());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user