feat(Core/Misc): remove and replace ACE_Singleton (#2418)
This commit is contained in:
parent
16b45bf334
commit
4a8f1de538
88 changed files with 486 additions and 250 deletions
|
|
@ -351,6 +351,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::ComputeIsSpellValid(SpellInfo const *spellInfo, bool msg)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue