瀏覽代碼

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();
 	});