aboutsummaryrefslogtreecommitdiff
path: root/src/game/LootMgr.cpp
diff options
context:
space:
mode:
authorXTZGZoReX <none@none>2009-12-22 02:39:39 +0100
committerXTZGZoReX <none@none>2009-12-22 02:39:39 +0100
commit9d342e2ab69a8b2e9e7dd1e459a30a71e695a42e (patch)
treecf4f970f92ef2cd8c3d1c095a2e268efda6a9325 /src/game/LootMgr.cpp
parentc0c72c28f6e83c45495ddc3a7f8fa6d41e9dd387 (diff)
* 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
Diffstat (limited to 'src/game/LootMgr.cpp')
-rw-r--r--src/game/LootMgr.cpp9
1 files changed, 5 insertions, 4 deletions
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);
}
}
}