mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-24 06:06:23 +00:00
refactor(Core/Misc): add braces and impove codestyle (#6402)
This commit is contained in:
@@ -18,7 +18,9 @@ namespace MMAP
|
||||
MMapManager* MMapFactory::createOrGetMMapManager()
|
||||
{
|
||||
if (g_MMapManager == nullptr)
|
||||
{
|
||||
g_MMapManager = new MMapManager();
|
||||
}
|
||||
|
||||
return g_MMapManager;
|
||||
}
|
||||
@@ -29,7 +31,9 @@ namespace MMAP
|
||||
int32 f[] = {616 /*EoE*/, 649 /*ToC25*/, 650 /*ToC5*/, -1};
|
||||
uint32 i = 0;
|
||||
while (f[i] >= 0)
|
||||
{
|
||||
forbiddenMaps[f[i++]] = true;
|
||||
}
|
||||
}
|
||||
|
||||
void MMapFactory::clear()
|
||||
|
||||
Reference in New Issue
Block a user