diff --git a/src/strategy/values/Formations.cpp b/src/strategy/values/Formations.cpp index a6f92ac5e..4628c5069 100644 --- a/src/strategy/values/Formations.cpp +++ b/src/strategy/values/Formations.cpp @@ -495,7 +495,7 @@ float Formation::GetFollowAngle() } FormationValue::FormationValue(PlayerbotAI* botAI) - : ManualSetValue(botAI, new NearFormation(botAI), "formation") + : ManualSetValue(botAI, new ChaosFormation(botAI), "formation") { } @@ -526,7 +526,7 @@ bool FormationValue::Load(std::string const formation) value = new QueueFormation(botAI); } - else if (formation == "chaos") + else if (formation == "chaos" || formation == "default") { if (value) delete value; @@ -561,7 +561,7 @@ bool FormationValue::Load(std::string const formation) value = new ArrowFormation(botAI); } - else if (formation == "near" || formation == "default") + else if (formation == "near") { if (value) delete value;