mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-23 21:56:22 +00:00
feat(Core/Misc): remove and replace ACE_Singleton (#2418)
This commit is contained in:
@@ -22,6 +22,12 @@ BattlefieldMgr::~BattlefieldMgr()
|
||||
delete *itr;
|
||||
}
|
||||
|
||||
BattlefieldMgr* BattlefieldMgr::instance()
|
||||
{
|
||||
static BattlefieldMgr instance;
|
||||
return &instance;
|
||||
}
|
||||
|
||||
void BattlefieldMgr::InitBattlefield()
|
||||
{
|
||||
Battlefield* pBf = new BattlefieldWG;
|
||||
|
||||
Reference in New Issue
Block a user