Core/Quest: Fix issues reported by static analysis
This commit is contained in:
1 parent
e60bbaa7d3
commit
f1f4005ad8
6 files changed
+20
-7
No files matched your search
@@ -991,7 +991,7 @@ void WorldSession::HandleRequestPartyMemberStatsOpcode(WorldPacket &recvData)
|
||||
data.put<uint64>(maskPos, auraMask); // GROUP_UPDATE_FLAG_AURAS
|
||||
|
||||
if (updateFlags & GROUP_UPDATE_FLAG_PET_GUID)
|
||||
data << uint64(pet->GetGUID());
|
||||
data << uint64(ASSERT_NOTNULL(pet)->GetGUID());
|
||||
|
||||
data << std::string(pet ? pet->GetName() : ""); // GROUP_UPDATE_FLAG_PET_NAME
|
||||
data << uint16(pet ? pet->GetDisplayId() : 0); // GROUP_UPDATE_FLAG_PET_MODEL_ID
|
||||
|
||||
Reference in new issue
Block a user