Core: header cleanup, split realmlist, boost compatibility, cotire, remove stormlib/zlib and stormlib/bzip2 and instead use dep sources

This commit is contained in:
ariel- committed 2018-03-28 04:41:59 -03:00
1 parent 7fff6c424f
commit 5ff847159c
1243 files changed
+29780 -36517

No files matched your search

+2 -2
View File
@@ -20,7 +20,7 @@
inline bool ItemExists(uint32 id)
{
return sObjectMgr->GetItemTemplate(id) != NULL;
return sObjectMgr->GetItemTemplate(id) != nullptr;
}
bool DB2Utilities::HasItemEntry(DB2Storage<ItemEntry> const& /*store*/, uint32 id)
@@ -53,7 +53,7 @@ void DB2Utilities::WriteItemSparseDbReply(DB2Storage<ItemSparseEntry> const& /*s
ItemTemplate const* proto = sObjectMgr->GetItemTemplate(id);
ASSERT(proto);
ItemLocale const* localeData = localeConstant ? sObjectMgr->GetItemLocale(id) : NULL;
ItemLocale const* localeData = localeConstant ? sObjectMgr->GetItemLocale(id) : nullptr;
buffer << uint32(proto->ItemId);
buffer << uint32(proto->Quality);