BGE: Making sure m_objType is initialized in the BlendType (VideoTexture) constructor.

This commit is contained in:
Mitchell Stokes 2013-08-03 05:01:50 +00:00
parent e4d396f300
commit e8ca7abb9a

@ -38,7 +38,7 @@ template <class PyObj> class BlendType
{
public:
/// constructor
BlendType (const char * name) : m_name(name) {}
BlendType (const char * name) : m_name(name), m_objType(NULL) {}
/// check blender type and return pointer to contained object or NULL (if type is not valid)
PyObj *checkType(PyObject *obj)