diff options
author | Nathan Warden <nathan@nathanwarden.com> | 2017-12-15 15:09:06 -0500 |
---|---|---|
committer | Nathan Warden <nathan@nathanwarden.com> | 2017-12-15 15:09:06 -0500 |
commit | 38caa4126f1d91d25d2fc9fb1d8fa68dde01299d (patch) | |
tree | 6273933b5d6ad572a58d2bd903b1836142c25ab9 /scene/2d/tile_map.cpp | |
parent | b872439eefb7d54a572ace3a57fea01787c46952 (diff) | |
download | redot-engine-38caa4126f1d91d25d2fc9fb1d8fa68dde01299d.tar.gz |
Renamed navmesh/poly_create to navmesh/poly_add since no navmesh is created.
Diffstat (limited to 'scene/2d/tile_map.cpp')
-rw-r--r-- | scene/2d/tile_map.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/tile_map.cpp b/scene/2d/tile_map.cpp index 1e34372d1e..bcdad177c5 100644 --- a/scene/2d/tile_map.cpp +++ b/scene/2d/tile_map.cpp @@ -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; |