1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-12-01 23:12:49 +02:00

Rename int3::valid to isValid for consistency

This commit is contained in:
Ivan Savenko
2025-02-28 19:56:43 +00:00
parent 0ead6a50b5
commit 9f713a0914
26 changed files with 42 additions and 42 deletions

View File

@@ -100,7 +100,7 @@ std::vector<CGPathNode *> NodeStorage::calculateTeleportations(
{
auto * node = getNode(neighbour, source.node->layer);
if(!node->coord.valid())
if(!node->coord.isValid())
{
logAi->debug("Teleportation exit is blocked " + neighbour.toString());
continue;
@@ -132,7 +132,7 @@ std::vector<CGPathNode *> NodeStorage::getInitialNodes()
initialNode->moveRemains = out.hero->movementPointsRemaining();
initialNode->setCost(0.0);
if(!initialNode->coord.valid())
if(!initialNode->coord.isValid())
{
initialNode->coord = out.hpos;
}