mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
Converted pathfinder enum's to enum class
This commit is contained in:
@@ -131,11 +131,11 @@ namespace AIPathfinding
|
||||
{
|
||||
AIPathNode * boatNode = boatNodeOptional.value();
|
||||
|
||||
if(boatNode->action == CGPathNode::UNKNOWN)
|
||||
if(boatNode->action == EPathNodeAction::UNKNOWN)
|
||||
{
|
||||
boatNode->addSpecialAction(virtualBoat);
|
||||
destination.blocked = false;
|
||||
destination.action = CGPathNode::ENodeAction::EMBARK;
|
||||
destination.action = EPathNodeAction::EMBARK;
|
||||
destination.node = boatNode;
|
||||
result = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user