Sync with 3.3.5a core

This commit is contained in:
Aokromes committed 2016-05-03 12:50:49 +02:00
1 parent 0ac5f4a440
commit 303082546b
67 files changed
+254 -177

No files matched your search

+6
View File
@@ -356,6 +356,12 @@ SpellMgr::~SpellMgr()
UnloadSpellInfoStore();
}
SpellMgr* SpellMgr::instance()
{
static SpellMgr instance;
return &instance;
}
/// Some checks for spells, to prevent adding deprecated/broken spells for trainers, spell book, etc
bool SpellMgr::IsSpellValid(SpellInfo const* spellInfo, Player* player, bool msg)
{