Sync with 3.3.5a core
This commit is contained in:
1 parent
0ac5f4a440
commit
303082546b
67 files changed
+254
-177
No files matched your search
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user