diff options
author | Rat <none@none> | 2010-06-05 13:30:02 +0200 |
---|---|---|
committer | Rat <none@none> | 2010-06-05 13:30:02 +0200 |
commit | e81b40a099e81ca6109fc635b75c30c0879dc05a (patch) | |
tree | 176ebf4c5d3ad568eb5aa1326ff748afbd302118 /src/shared/vmap/VMapManager2.cpp | |
parent | eeec7959e3e82da2407def971d15aa03b83c5fc0 (diff) |
fixed compile on win
--HG--
branch : trunk
Diffstat (limited to 'src/shared/vmap/VMapManager2.cpp')
-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; |