Browse Source

- Fixed warning under VS2010.

MelvMay-GG 12 years ago
parent
commit
420e9af
1 changed files with 1 additions and 1 deletions
  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.