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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gdnavigation/nav_region.cpp b/modules/gdnavigation/nav_region.cpp
index 0215821305..b91376f761 100644
--- a/modules/gdnavigation/nav_region.cpp
+++ b/modules/gdnavigation/nav_region.cpp
@@ -37,7 +37,7 @@
*/
NavRegion::NavRegion() :
- map(NULL),
+ map(nullptr),
polygons_dirty(true) {
}
@@ -71,7 +71,7 @@ void NavRegion::update_polygons() {
polygons.clear();
polygons_dirty = false;
- if (map == NULL) {
+ if (map == nullptr) {
return;
}