Use NULL instead of COND checks when appropriate
Restricted to scene
This commit is contained in:
parent
9723077f4f
commit
dcd2b883eb
43 changed files with 123 additions and 126 deletions
|
|
@ -221,7 +221,7 @@ Error SceneDebugger::parse_message(void *p_user, const String &p_msg, const Arra
|
|||
|
||||
void SceneDebugger::_save_node(ObjectID id, const String &p_path) {
|
||||
Node *node = Object::cast_to<Node>(ObjectDB::get_instance(id));
|
||||
ERR_FAIL_COND(!node);
|
||||
ERR_FAIL_NULL(node);
|
||||
|
||||
#ifdef TOOLS_ENABLED
|
||||
HashMap<const Node *, Node *> duplimap;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue