1
0
mirror of https://github.com/godotengine/godot synced 2024-07-05 16:23:36 +00:00

Fixup compilation warning after #78713

This commit is contained in:
Rémi Verschelde 2023-06-26 17:55:08 +02:00
parent 61937011c9
commit 6b91f57042
No known key found for this signature in database
GPG Key ID: C3336907360768E1

View File

@ -1052,13 +1052,13 @@ void SceneTree::_process(bool p_physics) {
if (p_physics) {
if (!pg->physics_nodes.is_empty()) {
process_valid = true;
} else if (pg == &default_process_group || (pg->owner != nullptr && pg->owner->data.process_thread_messages.has_flag(Node::FLAG_PROCESS_THREAD_MESSAGES_PHYSICS)) && pg->call_queue.has_messages()) {
} else if (pg == &default_process_group || ((pg->owner != nullptr && pg->owner->data.process_thread_messages.has_flag(Node::FLAG_PROCESS_THREAD_MESSAGES_PHYSICS)) && pg->call_queue.has_messages())) {
process_valid = true;
}
} else {
if (!pg->nodes.is_empty()) {
process_valid = true;
} else if (pg == &default_process_group || (pg->owner != nullptr && pg->owner->data.process_thread_messages.has_flag(Node::FLAG_PROCESS_THREAD_MESSAGES)) && pg->call_queue.has_messages()) {
} else if (pg == &default_process_group || ((pg->owner != nullptr && pg->owner->data.process_thread_messages.has_flag(Node::FLAG_PROCESS_THREAD_MESSAGES)) && pg->call_queue.has_messages())) {
process_valid = true;
}
}