G.sipo was being passed in the BGE when it wasnt needed, just access G.sipo directly.

KX_PythonSeq.cpp - disable the cmpfunc with py3, need to have richcmp.
This commit is contained in:
2009-06-13 13:02:01 +00:00
parent c7debe1455
commit b40eb540d3
6 changed files with 16 additions and 19 deletions
@@ -313,7 +313,11 @@ PyTypeObject KX_PythonSeq_Type = {
NULL, /* printfunc tp_print; */
NULL, /* getattrfunc tp_getattr; */
NULL, /* setattrfunc tp_setattr; */
#if PY_VERSION_HEX >= 0x03000000 // TODO - richcmp
NULL,
#else
( cmpfunc ) KX_PythonSeq_compare, /* cmpfunc tp_compare; */
#endif
( reprfunc ) KX_PythonSeq_repr, /* reprfunc tp_repr; */
/* Method suites for standard classes */