mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
Compile fix
This commit is contained in:
parent
9cc6f1f3ec
commit
1c1bc92d54
2 changed files with 1 additions and 7 deletions
|
|
@ -13393,7 +13393,7 @@ void Player::SendQuestReward( Quest const *pQuest, uint32 XP, Object * questGive
|
||||||
data << uint32(pQuest->GetRewOrReqMoney() + int32(pQuest->GetRewMoneyMaxLevel() * sWorld.getRate(RATE_DROP_MONEY)));
|
data << uint32(pQuest->GetRewOrReqMoney() + int32(pQuest->GetRewMoneyMaxLevel() * sWorld.getRate(RATE_DROP_MONEY)));
|
||||||
}
|
}
|
||||||
|
|
||||||
data << uint32(10*MaNGOS::Honor::hk_honor_at_level(pSession->GetPlayer()->getLevel(), pQuest->GetRewHonorableKills()));
|
data << uint32(10*MaNGOS::Honor::hk_honor_at_level(getLevel(), pQuest->GetRewHonorableKills()));
|
||||||
data << uint32(pQuest->GetBonusTalents()); // bonus talents
|
data << uint32(pQuest->GetBonusTalents()); // bonus talents
|
||||||
GetSession()->SendPacket( &data );
|
GetSession()->SendPacket( &data );
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -441,12 +441,6 @@ void WorldSession::HandleQuestPushToParty(WorldPacket& recvPacket)
|
||||||
|
|
||||||
_player->SendPushToPartyResponse(pPlayer, QUEST_PARTY_MSG_SHARING_QUEST);
|
_player->SendPushToPartyResponse(pPlayer, QUEST_PARTY_MSG_SHARING_QUEST);
|
||||||
|
|
||||||
if( _player->GetDistance( pPlayer ) > 10 )
|
|
||||||
{
|
|
||||||
_player->SendPushToPartyResponse( pPlayer, QUEST_PARTY_MSG_TOO_FAR );
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
if( !pPlayer->SatisfyQuestStatus( pQuest, false ) )
|
if( !pPlayer->SatisfyQuestStatus( pQuest, false ) )
|
||||||
{
|
{
|
||||||
_player->SendPushToPartyResponse( pPlayer, QUEST_PARTY_MSG_HAVE_QUEST );
|
_player->SendPushToPartyResponse( pPlayer, QUEST_PARTY_MSG_HAVE_QUEST );
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue