You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Variant INT and REAL are now 64 bits (other types remain at 32)
This commit is contained in:
@@ -731,14 +731,14 @@ void GDTokenizerText::_advance() {
|
||||
|
||||
INCPOS(str.length());
|
||||
if (hexa_found) {
|
||||
int val = str.hex_to_int();
|
||||
int64_t val = str.hex_to_int64();
|
||||
_make_constant(val);
|
||||
} else if (period_found || exponent_found) {
|
||||
real_t val = str.to_double();
|
||||
double val = str.to_double();
|
||||
//print_line("*%*%*%*% to convert: "+str+" result: "+rtos(val));
|
||||
_make_constant(val);
|
||||
} else {
|
||||
int val = str.to_int();
|
||||
int64_t val = str.to_int64();
|
||||
_make_constant(val);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user