Code analysis suggestions implemented.
This commit is contained in:
@@ -12,7 +12,7 @@ struct Pathfinding{
|
||||
int x; // Nodes position in 2D space
|
||||
int y;
|
||||
std::vector<sNode*> vecNeighbours; // Connections to neighbours
|
||||
sNode* parent; // Node connecting to this node that offers shortest parent
|
||||
sNode* parent=nullptr; // Node connecting to this node that offers shortest parent
|
||||
};
|
||||
|
||||
sNode *nodes = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user