aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game/LootMgr.cpp9
-rw-r--r--src/game/ObjectMgr.cpp2
2 files changed, 6 insertions, 5 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);
}
}
}
diff --git a/src/game/ObjectMgr.cpp b/src/game/ObjectMgr.cpp
index fe3fd606de3..06f831898f4 100644
--- a/src/game/ObjectMgr.cpp
+++ b/src/game/ObjectMgr.cpp
@@ -1584,7 +1584,7 @@ void ObjectMgr::LoadGameobjects()
break;
default:
sLog.outErrorDb("Gameobject (GUID: %u Entry %u GoType: %u) doesn't have displayId (%u), not loaded.", guid, entry, gInfo->type, gInfo->displayId);
- continue;
+ break;
}
}