summaryrefslogtreecommitdiffstats
path: root/scene/main/scene_tree.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-06-26 17:55:08 +0200
committerRémi Verschelde <rverschelde@gmail.com>2023-06-26 17:55:08 +0200
commit6b91f5704213543000823ec4b9876906a4549a0c (patch)
tree24d9cf84b614ee98c315d52e1e99f8957460f1f5 /scene/main/scene_tree.cpp
parent61937011c93e4baff879548932c4406406114ff5 (diff)
downloadredot-engine-6b91f5704213543000823ec4b9876906a4549a0c.tar.gz
Fixup compilation warning after #78713
Diffstat (limited to 'scene/main/scene_tree.cpp')
-rw-r--r--scene/main/scene_tree.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/main/scene_tree.cpp b/scene/main/scene_tree.cpp
index 5fc7a7a040..77f3027143 100644
--- a/scene/main/scene_tree.cpp
+++ b/scene/main/scene_tree.cpp
@@ -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;
}
}