Core/Scripts: Fixed uninitialized variable and memory leaks

This commit is contained in:
Shauren committed 2013-08-26 17:38:02 +02:00
1 parent 664ed816df
commit 4f44cdf2b5
4 files changed
+26 -15

No files matched your search

-3
View File
@@ -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));
}