mirror of
https://github.com/mangosfour/server.git
synced 2025-12-18 01:37:01 +00:00
[7212] Fixed check possibility quest drop present in loot template for player in case groupped loot.
This commit is contained in:
parent
781b013a98
commit
a47c8d3bfc
2 changed files with 2 additions and 2 deletions
|
|
@ -996,7 +996,7 @@ bool LootTemplate::HasQuestDropForPlayer(LootTemplateMap const& store, Player co
|
||||||
|
|
||||||
// Now checking groups
|
// Now checking groups
|
||||||
for (LootGroups::const_iterator i = Groups.begin(); i != Groups.end(); ++i )
|
for (LootGroups::const_iterator i = Groups.begin(); i != Groups.end(); ++i )
|
||||||
if (i->HasQuestDrop())
|
if (i->HasQuestDropForPlayer(player))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "7211"
|
#define REVISION_NR "7212"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue