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:
committed by
Andrii Danylchenko
parent
9a203b8af9
commit
1aa81530cb
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user