fixed compile on win

--HG--
branch : trunk
This commit is contained in:
Rat
2010-06-05 13:30:02 +02:00
parent eeec7959e3
commit e81b40a099
3 changed files with 24 additions and 56 deletions
+2 -2
View File
@@ -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;