diff --git a/src/game/Server/DBCStores.cpp b/src/game/Server/DBCStores.cpp index ae6bca057..26fbe2dae 100644 --- a/src/game/Server/DBCStores.cpp +++ b/src/game/Server/DBCStores.cpp @@ -1035,6 +1035,7 @@ ChatChannelsEntry const* GetChannelEntryFor(uint32 channel_id) return NULL; } +/* static ChatChannelsEntry worldCh = { 26, 4, "world" }; ChatChannelsEntry const* GetChannelEntryFor(const std::string& name) @@ -1073,6 +1074,7 @@ ChatChannelsEntry const* GetChannelEntryFor(const std::string& name) return NULL; } +*/ bool IsTotemCategoryCompatiableWith(uint32 itemTotemCategoryId, uint32 requiredTotemCategoryId) { diff --git a/src/game/Server/DBCStores.h b/src/game/Server/DBCStores.h index 170a4dc29..870d9682c 100644 --- a/src/game/Server/DBCStores.h +++ b/src/game/Server/DBCStores.h @@ -120,7 +120,7 @@ extern DBCStorage sAuctionHouseStore; extern DBCStorage sBankBagSlotPricesStore; extern DBCStorage sBarberShopStyleStore; extern DBCStorage sBattlemasterListStore; -// extern DBCStorage sChatChannelsStore; -- accessed using function, no usable index +extern DBCStorage sChatChannelsStore; // -- accessed using function, no usable index extern DBCStorage sCharStartOutfitStore; extern DBCStorage sCharTitlesStore; extern DBCStorage sChrClassesStore; diff --git a/src/game/Server/DBCStructure.h b/src/game/Server/DBCStructure.h index b86b74b81..5359ec371 100644 --- a/src/game/Server/DBCStructure.h +++ b/src/game/Server/DBCStructure.h @@ -673,7 +673,8 @@ struct ChatChannelsEntry uint32 ChannelID; // 0 m_ID uint32 flags; // 1 m_flags //uint32 // 2 m_factionGroup - char* pattern[16]; // 3 m_name_lang + DBCString pattern; // 3 m_name_lang +// char* pattern[16]; // 3 m_name_lang //char* name; // 4 m_shortcut_lang };