mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 22:37:02 +00:00
[10712] Startup checks for gossip_menu and gosip_menu_option table data.
Existance `gosup_menu` id refercned from gameobject field and unused meni ids activated only with disabled LogFilter_DbStrictedCheck.
This commit is contained in:
parent
534ff29f15
commit
a87648c56b
6 changed files with 67 additions and 14 deletions
|
|
@ -1217,7 +1217,7 @@ void LoadLootTemplates_Item()
|
|||
if (ids_set.find(proto->ItemId) != ids_set.end() || proto->MaxMoneyLoot > 0)
|
||||
ids_set.erase(proto->ItemId);
|
||||
// wdb have wrong data cases, so skip by default
|
||||
else if ((sLog.getLogFilter() & LOG_FILTER_DB_STRICTED_CHECK) == 0)
|
||||
else if (!sLog.HasLogFilter(LOG_FILTER_DB_STRICTED_CHECK))
|
||||
LootTemplates_Item.ReportNotExistedId(proto->ItemId);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue