Skip to content

Commit 33fcb67

Browse files
Merge pull request #69 from K07H/patch-1
[Low priority] Fixed compilation warnings
2 parents 4136c03 + b0d7ad9 commit 33fcb67

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

version/Core/Public/Ark/ArkApiUtils.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -762,8 +762,8 @@ namespace ArkApi
762762
float lon_div = 100.f / lon_scale;
763763
float lon = (lon_div * actor_position.X + lon_div * abs(lon_origin)) / 1000.f;
764764

765-
coords.x = std::floor(lon * 10.) / 10.;
766-
coords.y = std::floor(lat * 10.) / 10.;
765+
coords.x = std::floor(lon * 10.0f) / 10.0f;
766+
coords.y = std::floor(lat * 10.0f) / 10.0f;
767767

768768
return coords;
769769
}

0 commit comments

Comments
 (0)