Browse Source

Add missing <cfloat> and <limits>

LuisAntonRebollo 10 years ago
parent
commit
57698599e0
2 changed files with 3 additions and 0 deletions
  1. 2 0
      Engine/source/T3D/aiPlayer.cpp
  2. 1 0
      Engine/source/navigation/navPath.cpp

+ 2 - 0
Engine/source/T3D/aiPlayer.cpp

@@ -28,6 +28,8 @@
 #include "T3D/gameBase/moveManager.h"
 #include "console/engineAPI.h"
 
+#include <cfloat>
+
 static U32 sAIPlayerLoSMask = TerrainObjectType | StaticShapeObjectType | StaticObjectType;
 
 IMPLEMENT_CO_NETOBJECT_V1(AIPlayer);

+ 1 - 0
Engine/source/navigation/navPath.cpp

@@ -37,6 +37,7 @@
 #include "math/mathIO.h"
 
 #include <DetourDebugDraw.h>
+#include <climits>
 
 extern bool gEditingMission;