Codestyle fix (#1797)

Warning:
Dont change this PR as draft to make it testable


DONT REVIEW UNTIL Codestyle C++ workflow dont pass
This commit is contained in:
kadeshar
2025-11-05 21:10:17 +01:00
committed by GitHub
parent ce51191e8f
commit 85c7009fe1
149 changed files with 443 additions and 557 deletions

View File

@@ -83,7 +83,7 @@ Unit* EnemyPlayerValue::Calculate()
GuidVector players = AI_VALUE(GuidVector, "nearest enemy players");
float const maxAggroDistance = GetMaxAttackDistance();
for (const auto& gTarget : players)
for (auto const& gTarget : players)
{
Unit* pUnit = botAI->GetUnit(gTarget);
if (!pUnit)