From e81b40a099e81ca6109fc635b75c30c0879dc05a Mon Sep 17 00:00:00 2001 From: Rat Date: Sat, 5 Jun 2010 13:30:02 +0200 Subject: fixed compile on win --HG-- branch : trunk --- src/shared/vmap/VMapManager2.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/shared/vmap/VMapManager2.cpp') 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; -- cgit v1.2.3