Undo revision 23130 which was a merge with 2.5, a messy one because I did something...
[blender.git] / source / gameengine / Ketsji / KX_VisibilityActuator.cpp
index 3561ccd..97c893c 100644 (file)
@@ -91,13 +91,7 @@ KX_VisibilityActuator::Update()
 
 /* Integration hooks ------------------------------------------------------- */
 PyTypeObject KX_VisibilityActuator::Type = {
-#if (PY_VERSION_HEX >= 0x02060000)
        PyVarObject_HEAD_INIT(NULL, 0)
-#else
-       /* python 2.5 and below */
-       PyObject_HEAD_INIT( NULL )  /* required py macro */
-       0,                          /* ob_size */
-#endif
        "KX_VisibilityActuator",
        sizeof(PyObjectPlus_Proxy),
        0,
@@ -121,7 +115,7 @@ PyTypeObject KX_VisibilityActuator::Type = {
 PyMethodDef KX_VisibilityActuator::Methods[] = {
        // Deprecated ----->
        {"set", (PyCFunction) KX_VisibilityActuator::sPySetVisible, METH_VARARGS,
-               (PY_METHODCHAR) SetVisible_doc},
+               (const char *) SetVisible_doc},
        // <-----
        {NULL,NULL} //Sentinel
 };