mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Fix warnings.
This commit is contained in:
@@ -39,8 +39,8 @@
|
||||
|
||||
Pet::Pet(Player* owner, PetType type) :
|
||||
Guardian(NULL, owner, true), m_usedTalentCount(0), m_removed(false),
|
||||
m_petType(type), m_duration(0), m_groupUpdateMask(0), m_loading(false),
|
||||
m_declinedname(NULL)
|
||||
m_petType(type), m_duration(0), m_loading(false), m_declinedname(NULL),
|
||||
m_groupUpdateMask(0)
|
||||
{
|
||||
ASSERT(GetOwner());
|
||||
|
||||
|
||||
@@ -231,7 +231,7 @@ void Transport::Update(uint32 diff)
|
||||
sScriptMgr->OnTransportUpdate(this, diff);
|
||||
}
|
||||
|
||||
void Transport::DelayedUpdate(uint32 diff)
|
||||
void Transport::DelayedUpdate(uint32 /*diff*/)
|
||||
{
|
||||
if (GetKeyFrames().size() <= 1)
|
||||
return;
|
||||
|
||||
@@ -629,10 +629,9 @@ void WorldSession::HandleInitiateRolePoll(WorldPackets::Party::InitiateRolePoll&
|
||||
if (!group)
|
||||
return;
|
||||
|
||||
if (!group->IsLeader(GetPlayer()->GetGUID()) && !group->IsAssistant(GetPlayer()->GetGUID()))
|
||||
return;
|
||||
|
||||
ObjectGuid guid = GetPlayer()->GetGUID();
|
||||
if (!group->IsLeader(guid) && !group->IsAssistant(guid))
|
||||
return;
|
||||
|
||||
WorldPackets::Party::RolePollInform rolePollInform;
|
||||
rolePollInform.From = GetPlayer()->GetGUID();
|
||||
|
||||
Reference in New Issue
Block a user