]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
fix FLT_MAX on visual studio sucky compiler
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 23 Oct 2009 13:23:17 +0000 (13:23 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 23 Oct 2009 13:23:17 +0000 (13:23 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9391 d7cf8633-e32d-0410-b094-e92efae38249

world.c

diff --git a/world.c b/world.c
index a4f9001277878dfdb33fbd50955cc538f358ab40..d825e07a271f5bcc21492ec8fb8d948df84d8d9b 100644 (file)
--- a/world.c
+++ b/world.c
@@ -371,7 +371,7 @@ struct dxJointNode;
 struct dxJointGroup;
 struct dxTriMeshData;
 
-#define dInfinity FLT_MAX
+#define dInfinity 3.402823466e+38f
 
 typedef struct dxWorld *dWorldID;
 typedef struct dxSpace *dSpaceID;