mirror of
https://github.com/ioquake/jedi-academy.git
synced 2025-02-08 21:31:45 +00:00
fix a return type
This commit is contained in:
parent
ce9aaa8951
commit
d83a25cc1e
1 changed files with 1 additions and 1 deletions
|
@ -750,7 +750,7 @@ public:
|
|||
////////////////////////////////////////////////////////////////////////////////////
|
||||
// Connect Node Without Allocating An Edge Object (A->B) if reflexive, also (B->A)
|
||||
////////////////////////////////////////////////////////////////////////////////////
|
||||
void connect_node(int nodeA, int nodeB, bool reflexive=true)
|
||||
int connect_node(int nodeA, int nodeB, bool reflexive=true)
|
||||
{
|
||||
if (nodeA==nodeB || !nodeA || !nodeB || !mNodes.is_used(nodeA) || !mNodes.is_used(nodeB))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue