Parcourir la source

- Fixed warning under VS2010.

MelvMay-GG il y a 12 ans
Parent
commit
420e9af197
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      engine/source/2d/controllers/PointForceController.cc

+ 1 - 1
engine/source/2d/controllers/PointForceController.cc

@@ -107,7 +107,7 @@ void PointForceController::integrate( Scene* pScene, const F32 totalTime, const
         SceneObject* pSceneObject = queryResults[n].mpSceneObject;
 
         // Ignore if it's a static body.
-        if ( pSceneObject->getBodyType() == b2BodyType::b2_staticBody )
+        if ( pSceneObject->getBodyType() == b2_staticBody )
             continue;
 
         // Calculate the force direction to the controllers position.