1
0
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:
Andrii Danylchenko 2019-05-29 22:07:10 +03:00 committed by GitHub
parent 0bd5782470
commit 11af1431fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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