We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4136c03 + b0d7ad9 commit 33fcb67Copy full SHA for 33fcb67
1 file changed
version/Core/Public/Ark/ArkApiUtils.h
@@ -762,8 +762,8 @@ namespace ArkApi
762
float lon_div = 100.f / lon_scale;
763
float lon = (lon_div * actor_position.X + lon_div * abs(lon_origin)) / 1000.f;
764
765
- coords.x = std::floor(lon * 10.) / 10.;
766
- coords.y = std::floor(lat * 10.) / 10.;
+ coords.x = std::floor(lon * 10.0f) / 10.0f;
+ coords.y = std::floor(lat * 10.0f) / 10.0f;
767
768
return coords;
769
}
0 commit comments