Core/Quests: Fixed structures of QuestGiverOfferRewardMessage and QuestGiverQuestDetails

This commit is contained in:
Shauren
2017-06-11 19:53:22 +02:00
parent 636c9c420a
commit 677b2fba42
6 changed files with 23 additions and 24 deletions

View File

@@ -536,7 +536,7 @@ void WorldSession::HandleQuestgiverCompleteQuest(WorldPackets::Quest::QuestGiver
if (!object)
return;
if (autoCompleteMode == 0)
if (!autoCompleteMode)
{
if (!object->hasInvolvedQuest(packet.QuestID))
return;
@@ -578,10 +578,6 @@ void WorldSession::HandleQuestgiverCompleteQuest(WorldPackets::Quest::QuestGiver
}
}
void WorldSession::HandleQuestgiverQuestAutoLaunch(WorldPacket& /*recvPacket*/)
{
}
void WorldSession::HandlePushQuestToParty(WorldPackets::Quest::PushQuestToParty& packet)
{
if (!_player->CanShareQuest(packet.QuestID))