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
|
|
@ -505,8 +505,7 @@ void HeightMapShapeBullet::set_data(const Variant &p_data) {
|
|||
}
|
||||
|
||||
} else {
|
||||
ERR_EXPLAIN("Expected PoolRealArray or float Image.");
|
||||
ERR_FAIL();
|
||||
ERR_FAIL_MSG("Expected PoolRealArray or float Image.");
|
||||
}
|
||||
|
||||
ERR_FAIL_COND(l_width <= 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue