mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-24 08:32:34 +02:00
Fix code style
Co-Authored-By: Alexander Shishkin <alexvins@users.noreply.github.com>
This commit is contained in:
parent
0bd5782470
commit
11af1431fb
@ -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();
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user