mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 17:11:30 +00:00
Make enum/constant binds 64-bit.
This commit is contained in:
parent
78944fef82
commit
860e24683f
16 changed files with 48 additions and 46 deletions
|
|
@ -312,7 +312,7 @@ GDScriptCodeGenerator::Address GDScriptCompiler::_parse_expression(CodeGen &code
|
|||
// Class C++ integer constant.
|
||||
if (nc) {
|
||||
bool success = false;
|
||||
int constant = ClassDB::get_integer_constant(nc->get_name(), identifier, &success);
|
||||
int64_t constant = ClassDB::get_integer_constant(nc->get_name(), identifier, &success);
|
||||
if (success) {
|
||||
return codegen.add_constant(constant);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue