Fix misuses of error macros

This commit is contained in:
Danil Alexeev 2023-04-18 10:20:48 +03:00
parent d6dde819be
commit 36bedd341a
No known key found for this signature in database
GPG key ID: 124453E157DA8DC7
11 changed files with 5 additions and 13 deletions

View file

@ -260,7 +260,7 @@ Ref<FileAccess> PackedSourcePCK::get_file(const String &p_path, PackedData::Pack
//////////////////////////////////////////////////////////////////
Error FileAccessPack::open_internal(const String &p_path, int p_mode_flags) {
ERR_FAIL_V(ERR_UNAVAILABLE);
ERR_PRINT("Can't open pack-referenced file.");
return ERR_UNAVAILABLE;
}