mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[12125] Fix some warnings
* Fix compiler warnings "warning: no newline at end of file" (Linux/GCC). * Fix compiler warnings "warning: '<class>::<member>' will be initialized after <class>::<member>" (Linux/GCC). * Fix compiler warnings "warning: unused parameter '<param>'" (Linux/GCC). * Fix a signed/unsigned warning Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
This commit is contained in:
parent
02ce53b7dd
commit
6fa6eb24a5
19 changed files with 50 additions and 36 deletions
|
|
@ -143,15 +143,14 @@ template uint32 IdGenerator<uint32>::Generate();
|
|||
template uint64 IdGenerator<uint64>::Generate();
|
||||
|
||||
ObjectMgr::ObjectMgr() :
|
||||
m_FirstTemporaryCreatureGuid(1),
|
||||
m_FirstTemporaryGameObjectGuid(1),
|
||||
|
||||
m_ArenaTeamIds("Arena team ids"),
|
||||
m_AuctionIds("Auction ids"),
|
||||
m_EquipmentSetIds("Equipment set ids"),
|
||||
m_GuildIds("Guild ids"),
|
||||
m_MailIds("Mail ids"),
|
||||
m_PetNumbers("Pet numbers")
|
||||
m_PetNumbers("Pet numbers"),
|
||||
m_FirstTemporaryCreatureGuid(1),
|
||||
m_FirstTemporaryGameObjectGuid(1)
|
||||
{
|
||||
// Only zero condition left, others will be added while loading DB tables
|
||||
mConditions.resize(1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue