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
|
|
@ -3599,7 +3599,7 @@ void RichTextLabel::pop() {
|
|||
_stop_thread();
|
||||
MutexLock data_lock(data_mutex);
|
||||
|
||||
ERR_FAIL_COND(!current->parent);
|
||||
ERR_FAIL_NULL(current->parent);
|
||||
|
||||
if (current->type == ITEM_FRAME) {
|
||||
current_frame = static_cast<ItemFrame *>(current)->parent_frame;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue