소스 검색

Fix code style

Co-Authored-By: Alexander Shishkin <[email protected]>
Andrii Danylchenko 6 년 전
부모
커밋
11af1431fb
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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();
 	});