diff options
author | punto- <ariel@godotengine.org> | 2016-06-06 21:19:10 -0700 |
---|---|---|
committer | punto- <ariel@godotengine.org> | 2016-06-06 21:19:10 -0700 |
commit | 78218359b1e85728cda9879aba326dda021219a8 (patch) | |
tree | e5734f78f02470a4afe0f8edb02931409f0f41a9 /modules/gdscript/gd_compiler.cpp | |
parent | 0c985913a74ce196e81e711350961f3bd97a7355 (diff) | |
parent | 86253cbdfe0410ad4d50c2051036b51fb01ea16d (diff) | |
download | redot-engine-78218359b1e85728cda9879aba326dda021219a8.tar.gz |
Merge pull request #5078 from godotengine/revert-5054-fix-implicit-extends
Revert "Fix implicit GDScript Reference inheritance"
Diffstat (limited to 'modules/gdscript/gd_compiler.cpp')
-rw-r--r-- | modules/gdscript/gd_compiler.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/modules/gdscript/gd_compiler.cpp b/modules/gdscript/gd_compiler.cpp index 072c53fb9f..d51f1a4ddc 100644 --- a/modules/gdscript/gd_compiler.cpp +++ b/modules/gdscript/gd_compiler.cpp @@ -1588,12 +1588,6 @@ Error GDCompiler::_parse_class(GDScript *p_script, GDScript *p_owner, const GDPa } - } else { - // without extends, implicitly extend Reference - int native_idx = GDScriptLanguage::get_singleton()->get_global_map()["Reference"]; - native = GDScriptLanguage::get_singleton()->get_global_array()[native_idx]; - ERR_FAIL_COND_V(native.is_null(), ERR_BUG); - p_script->native=native; } |