aboutsummaryrefslogtreecommitdiff
path: root/modules/gdscript/gd_script.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2014-05-24 01:35:47 -0300
committerJuan Linietsky2014-05-24 01:35:47 -0300
commit1cad087969efefa401a11051343cd0689f660770 (patch)
tree1595dd049bdb7289752012dca4398b2251fb08fa /modules/gdscript/gd_script.cpp
parentf9ff086235cd4ff406b136f62fff77b85c0873f9 (diff)
downloadgodot-1cad087969efefa401a11051343cd0689f660770.tar.gz
godot-1cad087969efefa401a11051343cd0689f660770.tar.zst
godot-1cad087969efefa401a11051343cd0689f660770.zip
Diffstat (limited to 'modules/gdscript/gd_script.cpp')
-rw-r--r--modules/gdscript/gd_script.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/gdscript/gd_script.cpp b/modules/gdscript/gd_script.cpp
index c6183aadc..0d49f79f1 100644
--- a/modules/gdscript/gd_script.cpp
+++ b/modules/gdscript/gd_script.cpp
@@ -1159,6 +1159,9 @@ GDFunction::GDFunction() {
_stack_size=0;
_call_size=0;
name="<anonymous>";
+#ifdef DEBUG_ENABLED
+ _func_cname=NULL;
+#endif
}