small fixes regarding throwing pts around to python and back
This commit is contained in:
@@ -92,7 +92,7 @@ PyObject * itemGetIconImage(PyObject * poSelf, PyObject * poArgs)
|
||||
// CGraphicImage * pImage = (CGraphicImage *)CResourceManager::Instance().GetResourcePointer(szItemName);
|
||||
// }
|
||||
|
||||
return Py_BuildValue("i", pItemData->GetIconImage());
|
||||
return Py_BuildValue("K", pItemData->GetIconImage());
|
||||
}
|
||||
|
||||
PyObject * itemGetIconImageFileName(PyObject * poSelf, PyObject * poArgs)
|
||||
|
||||
Reference in New Issue
Block a user