mirror of
https://github.com/godotengine/godot.git
synced 2025-10-22 17:33:33 +00:00
Make all String float conversion methods be 64-bit
This commit is contained in:
parent
4e825539e5
commit
56e2c6c704
25 changed files with 106 additions and 125 deletions
|
@ -489,7 +489,7 @@ Error VisualScriptExpression::_get_token(Token &r_token) {
|
|||
r_token.type = TK_CONSTANT;
|
||||
|
||||
if (is_float) {
|
||||
r_token.value = num.to_double();
|
||||
r_token.value = num.to_float();
|
||||
} else {
|
||||
r_token.value = num.to_int();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue