mirror of
https://github.com/mangosfour/server.git
synced 2025-12-18 10:37:01 +00:00
[7132] Disable quest mail loot check: some quest mails not have items.
This commit is contained in:
parent
93662a1fb3
commit
205957df0a
2 changed files with 6 additions and 4 deletions
|
|
@ -1220,10 +1220,12 @@ void LoadLootTemplates_QuestMail()
|
||||||
if(!itr->second->GetRewMailTemplateId())
|
if(!itr->second->GetRewMailTemplateId())
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if(!ids_set.count(itr->first))
|
if(ids_set.count(itr->first))
|
||||||
LootTemplates_QuestMail.ReportNotExistedId(itr->first);
|
|
||||||
else
|
|
||||||
ids_set.erase(itr->first);
|
ids_set.erase(itr->first);
|
||||||
|
/* disabled reporting: some quest mails not include items
|
||||||
|
else
|
||||||
|
LootTemplates_QuestMail.ReportNotExistedId(itr->first);
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
// output error for any still listed (not referenced from appropriate table) ids
|
// output error for any still listed (not referenced from appropriate table) ids
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "7131"
|
#define REVISION_NR "7132"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue