Core/Misc: Fix some -Wconversion warnings

This commit is contained in:
jackpoz committed 2014-08-23 19:56:41 +02:00
1 parent f5f9df0483
commit 7fe7f30521
85 files changed
+207 -206

No files matched your search

+1 -1
View File
@@ -225,7 +225,7 @@ namespace VMAP
float StaticMapTree::getHeight(const Vector3& pPos, float maxSearchDist) const
{
float height = G3D::inf();
float height = G3D::finf();
Vector3 dir = Vector3(0, 0, -1);
G3D::Ray ray(pPos, dir); // direction with length of 1
float maxDist = maxSearchDist;