diff options
| author | Marcelo Fernandez | 2017-08-17 18:35:55 -0300 |
|---|---|---|
| committer | Marcelo Fernandez | 2017-08-17 19:51:13 -0300 |
| commit | eab850524ead092ed9fe22e57955e59eae373b79 (patch) | |
| tree | 1ec2718c0810d852b51c4d40c135f4dde3841906 /modules/gdscript/gd_functions.cpp | |
| parent | 33c1d25517050470689924c60414feaf295ce05f (diff) | |
| download | godot-eab850524ead092ed9fe22e57955e59eae373b79.tar.gz godot-eab850524ead092ed9fe22e57955e59eae373b79.tar.zst godot-eab850524ead092ed9fe22e57955e59eae373b79.zip | |
Diffstat (limited to 'modules/gdscript/gd_functions.cpp')
| -rw-r--r-- | modules/gdscript/gd_functions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gd_functions.cpp b/modules/gdscript/gd_functions.cpp index 209bdadd6..094dd287e 100644 --- a/modules/gdscript/gd_functions.cpp +++ b/modules/gdscript/gd_functions.cpp @@ -446,7 +446,7 @@ void GDFunctions::call(Function p_func, const Variant **p_args, int p_arg_count, VALIDATE_ARG_COUNT(1); VALIDATE_ARG_NUM(0); int64_t num = *p_args[0]; - r_ret = nearest_power_of_2(num); + r_ret = next_power_of_2(num); } break; case OBJ_WEAKREF: { VALIDATE_ARG_COUNT(1); |
