* Correction for 6706.
- If a GO template (type 3 and 25) has at least one spawn and a data1 set to a lootid, then error. If no spawns, silently ignore. --HG-- branch : trunk
This commit is contained in:
@@ -1253,11 +1253,10 @@ void LoadLootTemplates_Gameobject()
|
||||
{
|
||||
if (uint32 lootid = gInfo->GetLootId())
|
||||
{
|
||||
//if (!ids_set.count(lootid))
|
||||
// LootTemplates_Gameobject.ReportNotExistedId(lootid);
|
||||
//else
|
||||
// ids_setUsed.insert(lootid);
|
||||
ids_setUsed.insert(lootid);
|
||||
if (objmgr.IsGoOfSpecificEntrySpawned(gInfo->id) && !ids_set.count(lootid))
|
||||
LootTemplates_Gameobject.ReportNotExistedId(lootid);
|
||||
else
|
||||
ids_setUsed.insert(lootid);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user