Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in rest of 'modules/'
This commit is contained in:
parent
3418f76a9e
commit
8aeade74db
29 changed files with 72 additions and 169 deletions
|
|
@ -53,8 +53,7 @@ public:
|
|||
|
||||
file = FileAccess::open(p_file, FileAccess::READ);
|
||||
|
||||
ERR_EXPLAIN("Failed loading resource: '" + p_file + "';");
|
||||
ERR_FAIL_COND(!file);
|
||||
ERR_FAIL_COND_MSG(!file, "Failed loading resource: '" + p_file + "'.");
|
||||
}
|
||||
~MkvReader() {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue