Merge pull request #62025 from smix8/navigation_cb_invalid_obj_4.x
This commit is contained in:
commit
becfe93092
1 changed files with 2 additions and 1 deletions
|
@ -65,8 +65,9 @@ void RvoAgent::dispatch_callback() {
|
|||
return;
|
||||
}
|
||||
Object *obj = ObjectDB::get_instance(callback.id);
|
||||
if (obj == nullptr) {
|
||||
if (!obj) {
|
||||
callback.id = ObjectID();
|
||||
return;
|
||||
}
|
||||
|
||||
Callable::CallError responseCallError;
|
||||
|
|
Loading…
Reference in a new issue