Renamed navmesh/poly_create to navmesh/poly_add since no navmesh is created.

This commit is contained in:
Nathan Warden
2017-12-15 15:09:06 -05:00
parent b872439eef
commit 38caa4126f
10 changed files with 17 additions and 17 deletions

View File

@@ -486,7 +486,7 @@ void TileMap::_update_dirty_quadrants() {
xform.set_origin(offset.floor() + q.pos);
_fix_cell_transform(xform, c, npoly_ofs + center_ofs, s);
int pid = navigation->navpoly_create(navpoly, nav_rel * xform);
int pid = navigation->navpoly_add(navpoly, nav_rel * xform);
Quadrant::NavPoly np;
np.id = pid;