mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-24 02:46:33 +01:00
Core/Battlegrounds: Fixed loading StartMaxDist
This commit is contained in:
@@ -700,8 +700,7 @@ void BattlegroundMgr::CreateInitialBattlegrounds()
|
||||
data.MaxPlayersPerTeam = fields[2].GetUInt16();
|
||||
data.LevelMin = fields[3].GetUInt8();
|
||||
data.LevelMax = fields[4].GetUInt8();
|
||||
uint8 spawn = fields[9].GetUInt8();
|
||||
data.StartMaxDist = float(spawn * spawn);
|
||||
data.StartMaxDist = fields[9].GetFloat();
|
||||
|
||||
data.scriptId = sObjectMgr->GetScriptId(fields[11].GetCString());
|
||||
data.BattlegroundName = bl->name[sWorld->GetDefaultDbcLocale()];
|
||||
|
||||
Reference in New Issue
Block a user