mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19: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)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "10136"
|
||||
#define REVISION_NR "10137"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue