[7132] Disable quest mail loot check: some quest mails not have items.

This commit is contained in:
VladimirMangos 2009-01-21 06:08:07 +03:00
parent 93662a1fb3
commit 205957df0a
2 changed files with 6 additions and 4 deletions

View file

@ -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

View file

@ -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__