mirror of https://github.com/pmret/papermario.git
1024.f -> 1024.0f
This commit is contained in:
parent
2db3e8066c
commit
25eda26d0b
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue