mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in "platform", "modules/gdnative", "modules/gdscript" directories.
This commit is contained in:
parent
22b42c3315
commit
6ab118c464
24 changed files with 112 additions and 306 deletions
|
@ -349,8 +349,7 @@ void GDScriptFunctions::call(Function p_func, const Variant **p_args, int p_arg_
|
|||
VALIDATE_ARG_COUNT(1);
|
||||
VALIDATE_ARG_NUM(0);
|
||||
r_ret = Math::step_decimals((double)*p_args[0]);
|
||||
ERR_EXPLAIN("GDScript method 'decimals' is deprecated and has been renamed to 'step_decimals', please update your code accordingly.");
|
||||
WARN_DEPRECATED;
|
||||
WARN_DEPRECATED_MSG("GDScript method 'decimals' is deprecated and has been renamed to 'step_decimals', please update your code accordingly.");
|
||||
} break;
|
||||
case MATH_STEP_DECIMALS: {
|
||||
VALIDATE_ARG_COUNT(1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue