Some code changed with Clang-Tidy
This commit is contained in:
parent
5c66771e3e
commit
4e5310cc60
175 changed files with 467 additions and 674 deletions
|
|
@ -566,7 +566,7 @@ Error ProjectSettings::_load_settings_text(const String p_path) {
|
|||
if (config_version > CONFIG_VERSION) {
|
||||
memdelete(f);
|
||||
ERR_EXPLAIN(vformat("Can't open project at '%s', its `config_version` (%d) is from a more recent and incompatible version of the engine. Expected config version: %d.", p_path, config_version, CONFIG_VERSION));
|
||||
ERR_FAIL_COND_V(config_version > CONFIG_VERSION, ERR_FILE_CANT_OPEN);
|
||||
ERR_FAIL_V(ERR_FILE_CANT_OPEN);
|
||||
}
|
||||
} else {
|
||||
if (section == String()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue