1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

Nullkiller: parallel object clusterization, stabilization

This commit is contained in:
Andrii Danylchenko
2021-05-16 15:08:56 +03:00
committed by Andrii Danylchenko
parent 66843b22d3
commit 9a203b8af9
14 changed files with 332 additions and 165 deletions

View File

@@ -69,7 +69,7 @@ namespace AIPathfinding
if(shipyard->shipyardStatus() == IShipyard::GOOD)
{
int3 boatLocation = shipyard->bestLocation();
virtualBoats[boatLocation] = std::make_shared<BuildBoatAction>(shipyard);
virtualBoats[boatLocation] = std::make_shared<BuildBoatAction>(cb, shipyard);
logAi->debug("Virtual boat added at %s", boatLocation.toString());
}
}