1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-13 19:54:17 +02:00

Fix code style

Co-Authored-By: Alexander Shishkin <alexvins@users.noreply.github.com>
This commit is contained in:
Andrii Danylchenko
2019-05-29 22:07:10 +03:00
committed by GitHub
parent 0bd5782470
commit 11af1431fb

View File

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