summaryrefslogtreecommitdiffstats
path: root/core/io/resource_format_binary.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-09-12 11:39:47 +0200
committerGitHub <noreply@github.com>2017-09-12 11:39:47 +0200
commit2b50dc5d4f0b9d0c6fd5463b5d89d17578b388ab (patch)
treec3bd911221cb9e3850f28bf5e5c605fcbad1089e /core/io/resource_format_binary.cpp
parentd455b13fcf7ff7ce5d62c08d97e035cf27805be5 (diff)
parent67a706fc1b9721f3f06eef8be7312f175e2041ce (diff)
downloadredot-engine-2b50dc5d4f0b9d0c6fd5463b5d89d17578b388ab.tar.gz
Merge pull request #11057 from hpvb/fix-various-warnings
Fix various assorted warnings
Diffstat (limited to 'core/io/resource_format_binary.cpp')
-rw-r--r--core/io/resource_format_binary.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/io/resource_format_binary.cpp b/core/io/resource_format_binary.cpp
index 084d8ffcab..661eba2106 100644
--- a/core/io/resource_format_binary.cpp
+++ b/core/io/resource_format_binary.cpp
@@ -1814,11 +1814,11 @@ Error ResourceFormatSaverBinaryInstance::save(const String &p_path, const RES &p
if (skip_editor && F->get().name.begins_with("__editor"))
continue;
- if (F->get().usage & PROPERTY_USAGE_STORAGE) {
+ if ((F->get().usage & PROPERTY_USAGE_STORAGE)) {
Property p;
p.name_idx = get_string_index(F->get().name);
p.value = E->get()->get(F->get().name);
- if ((F->get().usage & PROPERTY_USAGE_STORE_IF_NONZERO && p.value.is_zero()) || (F->get().usage & PROPERTY_USAGE_STORE_IF_NONONE && p.value.is_one()))
+ if (((F->get().usage & PROPERTY_USAGE_STORE_IF_NONZERO) && p.value.is_zero()) || ((F->get().usage & PROPERTY_USAGE_STORE_IF_NONONE) && p.value.is_one()))
continue;
p.pi = F->get();