Turn some prints to error logs, remove others

Fixes #5876 in passing.
This commit is contained in:
Rémi Verschelde
2016-07-24 00:02:19 +02:00
parent ebefdaa598
commit 308d405c31
5 changed files with 10 additions and 12 deletions

View File

@ -51,7 +51,7 @@ Error ImageLoader::load_image(String p_file,Image *p_image, FileAccess *p_custom
Error err;
f=FileAccess::open(p_file,FileAccess::READ,&err);
if (!f) {
print_line("ERROR OPENING FILE: "+p_file);
ERR_PRINTS("Error opening file: "+p_file);
return err;
}
}
@ -76,7 +76,6 @@ Error ImageLoader::load_image(String p_file,Image *p_image, FileAccess *p_custom
}
print_line("NO LOADER?");
if (!p_custom)
memdelete(f);