Skip to content

Commit

Permalink
Merge pull request #817 from nl-saw/defchaosform
Browse files Browse the repository at this point in the history
Poll results: Change default formation to Chaos
  • Loading branch information
noisiver authored Dec 27, 2024
2 parents d1690b2 + 2f78db8 commit 2b758c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/strategy/values/Formations.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ float Formation::GetFollowAngle()
}

FormationValue::FormationValue(PlayerbotAI* botAI)
: ManualSetValue<Formation*>(botAI, new NearFormation(botAI), "formation")
: ManualSetValue<Formation*>(botAI, new ChaosFormation(botAI), "formation")
{
}

Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 2b758c9

Please sign in to comment.