diff options
author | Juan Linietsky <reduzio@gmail.com> | 2017-10-02 16:38:39 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2017-10-03 17:36:14 -0300 |
commit | 3cadecf17be08198f8a28e0674bfde30c8fc824f (patch) | |
tree | d7f50c210e56efbce70253485c69c23aa3af5bad /core/io | |
parent | a848fa6cdeb00f0c40f259cde2d59112272e3c51 (diff) |
fixed the OS.has_feature() API, and added support for 32 and 64.
Diffstat (limited to 'core/io')
-rw-r--r-- | core/io/resource_import.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/io/resource_import.cpp b/core/io/resource_import.cpp index bc7ea47762..401d704222 100644 --- a/core/io/resource_import.cpp +++ b/core/io/resource_import.cpp @@ -77,7 +77,7 @@ Error ResourceFormatImporter::_get_path_and_type(const String &p_path, PathAndTy if (assign != String()) { if (!path_found && assign.begins_with("path.") && r_path_and_type.path == String()) { String feature = assign.get_slicec('.', 1); - if (OS::get_singleton()->check_feature_support(feature)) { + if (OS::get_singleton()->has_feature(feature)) { r_path_and_type.path = value; path_found = true; //first match must have priority } |