mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
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
|
|
@ -1377,7 +1377,7 @@ bool ShaderLanguage::_find_identifier(const BlockNode *p_block, bool p_allow_rea
|
|||
if (p_allow_reassign) {
|
||||
break;
|
||||
}
|
||||
ERR_FAIL_COND_V(!p_block->parent_block, false);
|
||||
ERR_FAIL_NULL_V(p_block->parent_block, false);
|
||||
p_block = p_block->parent_block;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue