rename and negate DISABLE_PYTHON --> WITH_PYTHON
[blender.git] / source / gameengine / Ketsji / KX_VehicleWrapper.h
index 2ca06da18fc2b2875d0de5eca8f80b9636c9f932..4cde50b0932f5b4cd6d590b5ef30a5f3befd2cb3 100644 (file)
@@ -20,7 +20,7 @@ public:
        virtual ~KX_VehicleWrapper ();
        int                     getConstraintId();
        
-#ifndef DISABLE_PYTHON
+#ifdef WITH_PYTHON
        
        KX_PYMETHOD_VARARGS(KX_VehicleWrapper,AddWheel);
        KX_PYMETHOD_VARARGS(KX_VehicleWrapper,GetNumWheels);
@@ -47,7 +47,7 @@ public:
        KX_PYMETHOD_VARARGS(KX_VehicleWrapper,SetSuspensionCompression);
        
        KX_PYMETHOD_VARARGS(KX_VehicleWrapper,SetRollInfluence);
-#endif // DISABLE_PYTHON
+#endif // WITH_PYTHON
 
 private:
        PHY_IVehicle*                    m_vehicle;