forked from metin-server/m2dev-client-src
small fixes regarding throwing pts around to python and back
This commit is contained in:
@@ -1926,9 +1926,9 @@ PyObject * playerGetEmotionIconImage(PyObject* poSelf, PyObject* poArgs)
|
||||
return Py_BuildException();
|
||||
|
||||
if (m_kMap_iEmotionIndex_pkIconImage.end() == m_kMap_iEmotionIndex_pkIconImage.find(iIndex))
|
||||
return Py_BuildValue("i", 0);
|
||||
return Py_BuildValue("K", 0);
|
||||
|
||||
return Py_BuildValue("i", m_kMap_iEmotionIndex_pkIconImage[iIndex]);
|
||||
return Py_BuildValue("K", m_kMap_iEmotionIndex_pkIconImage[iIndex]);
|
||||
}
|
||||
|
||||
PyObject * playerSetItemData(PyObject* poSelf, PyObject* poArgs)
|
||||
|
||||
Reference in New Issue
Block a user