diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/shared/vmap/VMapManager2.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/vmap/VMapManager2.cpp b/src/shared/vmap/VMapManager2.cpp index c4c13fe7957..1e8a84aee52 100644 --- a/src/shared/vmap/VMapManager2.cpp +++ b/src/shared/vmap/VMapManager2.cpp @@ -56,7 +56,7 @@ namespace VMAP Vector3 VMapManager2::convertPositionToInternalRep(float x, float y, float z) const { Vector3 pos; - const float mid = 0.5 * 64.0 * 533.33333333; + const float mid = 0.5 * 64.0 * 533.33333333f; pos.x = mid - x; pos.y = mid - y; pos.z = z; @@ -69,7 +69,7 @@ namespace VMAP Vector3 VMapManager2::convertPositionToMangosRep(float x, float y, float z) const { Vector3 pos; - const float mid = 0.5 * 64.0 * 533.33333333; + const float mid = 0.5 * 64.0 * 533.33333333f; pos.x = mid - x; pos.y = mid - y; pos.z = z; |