rename and negate DISABLE_PYTHON --> WITH_PYTHON
[blender.git] / source / gameengine / GameLogic / SCA_DelaySensor.cpp
index 6cad801e429e5b15117a26a89012a4a20798a02b..abe72fb6757a1192e53b1a92d5030d489dce971f 100644 (file)
@@ -120,7 +120,7 @@ bool SCA_DelaySensor::Evaluate()
        return trigger;
 }
 
-#ifndef DISABLE_PYTHON
+#ifdef WITH_PYTHON
 
 /* ------------------------------------------------------------------------- */
 /* Python functions                                                          */
@@ -160,6 +160,6 @@ PyAttributeDef SCA_DelaySensor::Attributes[] = {
        { NULL }        //Sentinel
 };
 
-#endif // DISABLE_PYTHON
+#endif // WITH_PYTHON
 
 /* eof */