Replace ERR_FAIL_COND with ERR_FAIL_NULL where applicable
This commit is contained in:
parent
6916349697
commit
f18aa00e85
45 changed files with 85 additions and 85 deletions
|
|
@ -411,7 +411,7 @@ public:
|
|||
Window *get_last_exclusive_window() const;
|
||||
|
||||
_FORCE_INLINE_ SceneTree *get_tree() const {
|
||||
ERR_FAIL_COND_V(!data.tree, nullptr);
|
||||
ERR_FAIL_NULL_V(data.tree, nullptr);
|
||||
return data.tree;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue