Added some obvious errors explanations
This commit is contained in:
parent
e9f49a6d5a
commit
17732fe698
125 changed files with 435 additions and 458 deletions
|
|
@ -96,7 +96,7 @@ Error ResourceImporterWAV::import(const String &p_source_file, const String &p_s
|
|||
Error err;
|
||||
FileAccess *file = FileAccess::open(p_source_file, FileAccess::READ, &err);
|
||||
|
||||
ERR_FAIL_COND_V(err != OK, ERR_CANT_OPEN);
|
||||
ERR_FAIL_COND_V_MSG(err != OK, ERR_CANT_OPEN, "Cannot open file '" + p_source_file + "'.");
|
||||
|
||||
/* CHECK RIFF */
|
||||
char riff[5];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue