mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-17 02:40:28 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user