feat(Core/Globals): Dynamically calculate max race and racemasks from DBC data. (#24665)

This commit is contained in:
Benjamin Jackson
2026-02-28 18:12:52 -05:00
committed by GitHub
parent 85b224bcef
commit 515aeca570
15 changed files with 221 additions and 75 deletions
+4
View File
@@ -71,6 +71,7 @@
#include "Player.h"
#include "PlayerDump.h"
#include "PoolMgr.h"
#include "RaceMgr.h"
#include "Realm.h"
#include "ScriptMgr.h"
#include "ServerMailMgr.h"
@@ -385,6 +386,9 @@ void World::SetInitialWorldSettings()
// Load cinematic cameras
LoadM2Cameras(_dataPath);
LOG_INFO("server.loading", "Loading Player race data...");
sRaceMgr->LoadRaces();
// Load IP Location Database
sIPLocation->Load();