Bugfix for connection with the same source and destination

parent 62b5e0b9
......@@ -1593,6 +1593,7 @@ int GlowCon::con_route_area( double wind_ll_x, double wind_ll_y,
}
}
dest_node->link_insert( (void **)&nodelist);
if ( dest_node != source_node)
source_node->link_insert( (void **)&nodelist);
if ( !nodelist)
return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment