mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
NKAI: improve boat handling by object graph, a set of fixes
This commit is contained in:
@@ -17,8 +17,12 @@ namespace NKAI
|
||||
{
|
||||
namespace AIPathfinding
|
||||
{
|
||||
AILayerTransitionRule::AILayerTransitionRule(CPlayerSpecificInfoCallback * cb, Nullkiller * ai, std::shared_ptr<AINodeStorage> nodeStorage)
|
||||
:cb(cb), ai(ai), nodeStorage(nodeStorage)
|
||||
AILayerTransitionRule::AILayerTransitionRule(
|
||||
CPlayerSpecificInfoCallback * cb,
|
||||
Nullkiller * ai,
|
||||
std::shared_ptr<AINodeStorage> nodeStorage,
|
||||
bool allowEmbark)
|
||||
:cb(cb), ai(ai), nodeStorage(nodeStorage), allowEmbark(allowEmbark)
|
||||
{
|
||||
setup();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user