mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 09:17:36 +01:00
[7212] Fixed check possibility quest drop present in loot template for player in case groupped loot. By VladimirMangos.
--HG-- branch : trunk
This commit is contained in:
@@ -999,7 +999,7 @@ bool LootTemplate::HasQuestDropForPlayer(LootTemplateMap const& store, Player co
|
||||
|
||||
// Now checking groups
|
||||
for (LootGroups::const_iterator i = Groups.begin(); i != Groups.end(); ++i )
|
||||
if (i->HasQuestDrop())
|
||||
if (i->HasQuestDropForPlayer(player))
|
||||
return true;
|
||||
|
||||
return false;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "7211"
|
||||
#define REVISION_NR "7212"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
||||
Reference in New Issue
Block a user