mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
Converted pathfinder enum's to enum class
This commit is contained in:
@ -138,7 +138,7 @@ bool PathNodeInfo::isNodeObjectVisitable() const
|
||||
|
||||
CDestinationNodeInfo::CDestinationNodeInfo():
|
||||
blocked(false),
|
||||
action(CGPathNode::ENodeAction::UNKNOWN)
|
||||
action(EPathNodeAction::UNKNOWN)
|
||||
{
|
||||
}
|
||||
|
||||
@ -147,7 +147,7 @@ void CDestinationNodeInfo::setNode(CGameState * gs, CGPathNode * n)
|
||||
PathNodeInfo::setNode(gs, n);
|
||||
|
||||
blocked = false;
|
||||
action = CGPathNode::ENodeAction::UNKNOWN;
|
||||
action = EPathNodeAction::UNKNOWN;
|
||||
}
|
||||
|
||||
bool CDestinationNodeInfo::isBetterWay() const
|
||||
|
Reference in New Issue
Block a user