summaryrefslogtreecommitdiff
path: root/modules/gdnavigation/rvo_agent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gdnavigation/rvo_agent.cpp')
-rw-r--r--modules/gdnavigation/rvo_agent.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gdnavigation/rvo_agent.cpp b/modules/gdnavigation/rvo_agent.cpp
index 677e525bbf..3c39f02c26 100644
--- a/modules/gdnavigation/rvo_agent.cpp
+++ b/modules/gdnavigation/rvo_agent.cpp
@@ -37,7 +37,7 @@
*/
RvoAgent::RvoAgent() :
- map(NULL) {
+ map(nullptr) {
callback.id = ObjectID();
}
@@ -70,7 +70,7 @@ void RvoAgent::dispatch_callback() {
return;
}
Object *obj = ObjectDB::get_instance(callback.id);
- if (obj == NULL) {
+ if (obj == nullptr) {
callback.id = ObjectID();
}