Use NULL instead of COND checks when appropriate

Restricted to scene
This commit is contained in:
Ninni Pipping
2023-06-06 14:59:54 +02:00
parent 9723077f4f
commit dcd2b883eb
43 changed files with 123 additions and 126 deletions

View File

@ -236,7 +236,7 @@ double Range::get_as_ratio() const {
void Range::_share(Node *p_range) {
Range *r = Object::cast_to<Range>(p_range);
ERR_FAIL_COND(!r);
ERR_FAIL_NULL(r);
share(r);
}