rename and negate DISABLE_PYTHON --> WITH_PYTHON
[blender.git] / source / gameengine / Ketsji / KX_VehicleWrapper.cpp
index 4ee80c6457074f79654d0a665f79d95e29d78821..17368357cc4d6893f2644bb38986e1355e632da2 100644 (file)
@@ -29,7 +29,7 @@ KX_VehicleWrapper::~KX_VehicleWrapper()
        m_motionStates.clear();
 }
 
-#ifndef DISABLE_PYTHON
+#ifdef WITH_PYTHON
 
 PyObject* KX_VehicleWrapper::PyAddWheel(PyObject* args)
 {
@@ -319,4 +319,4 @@ PyAttributeDef KX_VehicleWrapper::Attributes[] = {
        { NULL }        //Sentinel
 };
 
-#endif // DISABLE_PYTHON
+#endif // WITH_PYTHON