Explorar o código

Fix code style

Co-Authored-By: Alexander Shishkin <[email protected]>
Andrii Danylchenko %!s(int64=6) %!d(string=hai) anos
pai
achega
11af1431fb
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      AI/VCAI/Goals/GatherTroops.cpp

+ 2 - 1
AI/VCAI/Goals/GatherTroops.cpp

@@ -138,7 +138,8 @@ TGoalVec GatherTroops::getAllPossibleSubgoals()
 
 	CreatureID creID = CreatureID(objid);
 
-	vstd::erase_if(solutions, [&](TSubgoal goal)->bool{
+	vstd::erase_if(solutions, [&](TSubgoal goal)->bool
+	{
 		return goal->hero && !goal->hero->getSlotFor(creID).validSlot() && !goal->hero->getFreeSlot().validSlot();
 	});