1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

Nullkiller: cancel heavy decomposition on shipyards

This commit is contained in:
Andrii Danylchenko
2021-05-16 15:09:44 +03:00
committed by Andrii Danylchenko
parent 9a203b8af9
commit 1aa81530cb
9 changed files with 106 additions and 7 deletions

View File

@@ -146,7 +146,8 @@ Goals::TGoalVec CaptureObjectsBehavior::decompose() const
{
Goals::TGoalVec tasks;
auto captureObjects = [&](const std::vector<const CGObjectInstance*> & objs) -> void{
auto captureObjects = [&](const std::vector<const CGObjectInstance*> & objs) -> void
{
if(objs.empty())
{
return;