1024.f -> 1024.0f

This commit is contained in:
Alex Bates 2020-08-18 10:30:36 +01:00
parent 2db3e8066c
commit 25eda26d0b
No known key found for this signature in database
GPG Key ID: 5E11C2DB78877706
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
f32 fixed_var_to_float(s32 scriptVar) {
if (scriptVar <= -220000000) {
return (scriptVar + 230000000) * (1 / 1024.f);
return (scriptVar + 230000000) * (1 / 1024.0f);
}
return scriptVar;
}