Core/Scripts: Fixed uninitialized variable and memory leaks
This commit is contained in:
1 parent
664ed816df
commit
4f44cdf2b5
4 files changed
+26
-15
No files matched your search
@@ -27,7 +27,6 @@
|
||||
#include "Chat.h"
|
||||
#include "Spell.h"
|
||||
#include "BattlegroundMgr.h"
|
||||
#include "CreatureAI.h"
|
||||
#include "MapManager.h"
|
||||
#include "BattlefieldWG.h"
|
||||
#include "BattlefieldMgr.h"
|
||||
@@ -3001,8 +3000,6 @@ void SpellMgr::LoadSpellInfoCustomAttributes()
|
||||
spellInfo->_InitializeExplicitTargetMask();
|
||||
}
|
||||
|
||||
CreatureAI::FillAISpellInfo();
|
||||
|
||||
TC_LOG_INFO(LOG_FILTER_SERVER_LOADING, ">> Loaded SpellInfo custom attributes in %u ms", GetMSTimeDiffToNow(oldMSTime));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user