fixed std::string to Python string conversion in DF_Building_ReadCustomWorkshopTypes

develop
doomchild 2010-04-22 09:07:04 -05:00
parent 6903a46d90
commit 73f676bc36
1 changed files with 1 additions and 1 deletions

@ -189,7 +189,7 @@ static PyObject* DF_Building_ReadCustomWorkshopTypes(DF_Building* self, PyObject
for(bIter = bTypes.begin(); bIter != bTypes.end(); bIter++)
{
PyObject* temp = Py_BuildValue("is", (*bIter).first, (*bIter).second);
PyObject* temp = Py_BuildValue("is", (*bIter).first, (*bIter).second.c_str());
PyDict_MergeFromSeq2(bDict, temp, 1);
}