diff options
| author | Juan Linietsky | 2015-01-06 00:39:35 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2015-01-06 00:39:35 -0300 |
| commit | bd0356207631602f35e2111bc73bca2bd53e91a1 (patch) | |
| tree | 6d8fd9e373913496281aed33016d0b4f6aa7a8dc /modules/gdscript/gd_compiler.cpp | |
| parent | f75ae815d51571287892d77414d45e15bfdb849b (diff) | |
| download | godot-bd0356207631602f35e2111bc73bca2bd53e91a1.tar.gz godot-bd0356207631602f35e2111bc73bca2bd53e91a1.tar.zst godot-bd0356207631602f35e2111bc73bca2bd53e91a1.zip | |
Diffstat (limited to 'modules/gdscript/gd_compiler.cpp')
| -rw-r--r-- | modules/gdscript/gd_compiler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gd_compiler.cpp b/modules/gdscript/gd_compiler.cpp index 6289e6961..278651d64 100644 --- a/modules/gdscript/gd_compiler.cpp +++ b/modules/gdscript/gd_compiler.cpp @@ -528,7 +528,7 @@ int GDCompiler::_parse_expression(CodeGen& codegen,const GDParser::Node *p_expre int ret = _parse_expression(codegen,on->arguments[i],slevel); if (ret<0) return ret; - if (ret&GDFunction::ADDR_TYPE_STACK<<GDFunction::ADDR_BITS) { + if (ret&(GDFunction::ADDR_TYPE_STACK<<GDFunction::ADDR_BITS)) { slevel++; codegen.alloc_stack(slevel); } |
