From 9d342e2ab69a8b2e9e7dd1e459a30a71e695a42e Mon Sep 17 00:00:00 2001 From: XTZGZoReX Date: Tue, 22 Dec 2009 02:39:39 +0100 Subject: * More DB tweaks: - Load GO even if it has no displayid - while it's wrong, it's not something that'll kill the client anyway. - Don't warn about non-existing loot templates for GOs - this is to allow some WDB data to be filled in (GOs that have no spawns and thus no gameobject_loot_template entries). --HG-- branch : trunk --- src/game/LootMgr.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/game/LootMgr.cpp') diff --git a/src/game/LootMgr.cpp b/src/game/LootMgr.cpp index 13996cd3e96..d592092d5fe 100644 --- a/src/game/LootMgr.cpp +++ b/src/game/LootMgr.cpp @@ -1253,10 +1253,11 @@ void LoadLootTemplates_Gameobject() { if (uint32 lootid = gInfo->GetLootId()) { - if (!ids_set.count(lootid)) - LootTemplates_Gameobject.ReportNotExistedId(lootid); - else - ids_setUsed.insert(lootid); + //if (!ids_set.count(lootid)) + // LootTemplates_Gameobject.ReportNotExistedId(lootid); + //else + // ids_setUsed.insert(lootid); + ids_setUsed.insert(lootid); } } } -- cgit v1.2.3