mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 06:11:29 +03:00
Expression: Fix parsing integers as 32-bit
(cherry picked from commit ceba2b6761)
This commit is contained in:
@@ -1174,7 +1174,7 @@ Error Expression::_get_token(Token &r_token) {
|
||||
if (is_float)
|
||||
r_token.value = num.to_double();
|
||||
else
|
||||
r_token.value = num.to_int();
|
||||
r_token.value = num.to_int64();
|
||||
return OK;
|
||||
|
||||
} else if ((cchar >= 'A' && cchar <= 'Z') || (cchar >= 'a' && cchar <= 'z') || cchar == '_') {
|
||||
|
||||
Reference in New Issue
Block a user