mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
Remove redundant "== false" code
Some of this code has been re-organized. f
This commit is contained in:
parent
37386f112b
commit
4f7b33cdcf
33 changed files with 81 additions and 73 deletions
|
@ -679,7 +679,7 @@ GDScriptParser::Node *GDScriptParser::_parse_expression(Node *p_parent, bool p_s
|
|||
|
||||
if (tokenizer->get_token() == GDScriptTokenizer::TK_BUILT_IN_TYPE) {
|
||||
Variant::Type ct = tokenizer->get_token_type();
|
||||
if (p_parsing_constant == false) {
|
||||
if (!p_parsing_constant) {
|
||||
if (ct == Variant::ARRAY) {
|
||||
if (tokenizer->get_token(2) == GDScriptTokenizer::TK_PARENTHESIS_CLOSE) {
|
||||
ArrayNode *arr = alloc_node<ArrayNode>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue