Make enum/constant binds 64-bit.
This commit is contained in:
@ -2900,7 +2900,7 @@ void GDScriptAnalyzer::reduce_identifier_from_base(GDScriptParser::IdentifierNod
|
||||
return;
|
||||
}
|
||||
bool valid = false;
|
||||
int int_constant = ClassDB::get_integer_constant(native, name, &valid);
|
||||
int64_t int_constant = ClassDB::get_integer_constant(native, name, &valid);
|
||||
if (valid) {
|
||||
p_identifier->is_constant = true;
|
||||
p_identifier->reduced_value = int_constant;
|
||||
|
||||
Reference in New Issue
Block a user