aboutsummaryrefslogtreecommitdiff
path: root/modules/gdscript/gd_functions.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2014-04-05 12:39:30 -0300
committerJuan Linietsky2014-04-05 12:39:30 -0300
commit9f33134c93ecbadda70e8eefc50563e29b2eb7f2 (patch)
tree299ded94fe74a61bf8094935d0f3283f6f30e435 /modules/gdscript/gd_functions.cpp
parent35b84d2c85fd152bee05d7d5a05e20a5f602a285 (diff)
downloadgodot-9f33134c93ecbadda70e8eefc50563e29b2eb7f2.tar.gz
godot-9f33134c93ecbadda70e8eefc50563e29b2eb7f2.tar.zst
godot-9f33134c93ecbadda70e8eefc50563e29b2eb7f2.zip
-Support for changing fonts
-Detect when free() might crash the project and throw error -fixed 2D Bounce in physics (3d still broken) -renamed “on_top” property to “behind_parent”, which makes more sense, old on_top remains there for compatibility but is invisible. -large amount of fixes
Diffstat (limited to 'modules/gdscript/gd_functions.cpp')
-rw-r--r--modules/gdscript/gd_functions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gd_functions.cpp b/modules/gdscript/gd_functions.cpp
index c099c3f33..f789493ae 100644
--- a/modules/gdscript/gd_functions.cpp
+++ b/modules/gdscript/gd_functions.cpp
@@ -1095,7 +1095,7 @@ MethodInfo GDFunctions::get_info(Function p_func) {
return mi;
} break;
case MATH_RAND: {
- MethodInfo mi("rand");
+ MethodInfo mi("randi");
mi.return_val.type=Variant::INT;
return mi;
} break;