mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +00:00
[10137] Fixed item/go checks for active raid quests.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
ae01a353ef
commit
f3049e6dd7
2 changed files with 3 additions and 3 deletions
|
|
@ -14601,7 +14601,7 @@ bool Player::HasQuestForItem( uint32 itemid ) const
|
|||
continue;
|
||||
|
||||
// hide quest if player is in raid-group and quest is no raid quest
|
||||
if (GetGroup() && GetGroup()->isRaidGroup() && qinfo->IsAllowedInRaid() && !InBattleGround())
|
||||
if (GetGroup() && GetGroup()->isRaidGroup() && !qinfo->IsAllowedInRaid() && !InBattleGround())
|
||||
continue;
|
||||
|
||||
// There should be no mixed ReqItem/ReqSource drop
|
||||
|
|
@ -19909,7 +19909,7 @@ bool Player::HasQuestForGO(int32 GOId) const
|
|||
if(!qinfo)
|
||||
continue;
|
||||
|
||||
if(GetGroup() && GetGroup()->isRaidGroup() && qinfo->IsAllowedInRaid())
|
||||
if(GetGroup() && GetGroup()->isRaidGroup() && !qinfo->IsAllowedInRaid())
|
||||
continue;
|
||||
|
||||
for (int j = 0; j < QUEST_OBJECTIVES_COUNT; ++j)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue