]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/pathlib/expandnode.qc
Merge branch 'master' into terencehill/hud_updates
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / pathlib / expandnode.qc
index 1f095a7856a1f8ff8304004016b9e9c73ac4dfdb..700ba41c0e10ed9d7b203467d3d86f96288e4479 100644 (file)
@@ -1,3 +1,4 @@
+#include "expandnode.qh"
 #include "pathlib.qh"
 #include "utility.qh"
 
@@ -101,7 +102,7 @@ float pathlib_expandnode_star(entity node, vector start, vector goal)
     r = PLIB_RIGHT   * pathlib_gridsize;
 
     if (node.pathlib_node_edgeflags == pathlib_node_edgeflag_unknown)
-        node.pathlib_node_edgeflags = tile_check_plus2(node.origin);
+        node.pathlib_node_edgeflags = tile_check_plus2(node, node.origin);
 
     if(node.pathlib_node_edgeflags == pathlib_node_edgeflag_none)
     {