summaryrefslogtreecommitdiff
path: root/modules/gdnavigation/nav_region.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gdnavigation/nav_region.cpp')
-rw-r--r--modules/gdnavigation/nav_region.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/gdnavigation/nav_region.cpp b/modules/gdnavigation/nav_region.cpp
index 2bd42ba980..3dff19cd65 100644
--- a/modules/gdnavigation/nav_region.cpp
+++ b/modules/gdnavigation/nav_region.cpp
@@ -84,7 +84,6 @@ void NavRegion::update_polygons() {
// Build
for (size_t i(0); i < polygons.size(); i++) {
-
gd::Polygon &p = polygons[i];
p.owner = this;
@@ -98,7 +97,6 @@ void NavRegion::update_polygons() {
float sum(0);
for (int j(0); j < mesh_poly.size(); j++) {
-
int idx = indices[j];
if (idx < 0 || idx >= len) {
valid = false;