Core/Quests: Fixed quest sharing

This commit is contained in:
Shauren committed 2013-07-11 21:45:14 +02:00
1 parent f5cd494acb
commit 30f6efb416
5 files changed
+66 -26

No files matched your search

+3 -3
View File
@@ -16653,11 +16653,11 @@ void Player::SendQuestConfirmAccept(const Quest* quest, Player* pReceiver)
}
}
void Player::SendPushToPartyResponse(Player* player, uint32 msg)
void Player::SendPushToPartyResponse(Player* player, uint8 msg)
{
if (player)
{
WorldPacket data(MSG_QUEST_PUSH_RESULT, (8+1));
WorldPacket data(MSG_QUEST_PUSH_RESULT, 8 + 1);
data << uint64(player->GetGUID());
data << uint8(msg); // valid values: 0-8
GetSession()->SendPacket(&data);
@@ -18787,7 +18787,7 @@ bool Player::Satisfy(AccessRequirement const* ar, uint32 target_map, bool report
bool Player::CheckInstanceLoginValid()
{
if (!GetMap())
if (!FindMap())
return false;
if (!GetMap()->IsDungeon() || IsGameMaster())