1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-18 19:29:09 +00:00

Fix Python CreateAgeName corruption

This commit is contained in:
2015-01-03 17:48:16 -05:00
committed by Michael Hansen
parent 6d1dd4fd5d
commit acce8eaf4c
3 changed files with 4 additions and 4 deletions

View File

@ -285,10 +285,10 @@ uint32_t pyVaultNode::GetCreateAgeTime( void )
return GetCreateTime();
}
const char * pyVaultNode::GetCreateAgeName()
plString pyVaultNode::GetCreateAgeName() const
{
if (fNode)
return fNode->GetCreateAgeName().c_str();
return fNode->GetCreateAgeName();
return "";
}

View File

@ -137,7 +137,7 @@ public:
PyObject* GetCreatorNode( void ); // returns pyVaultPlayerInfoNode
uint32_t GetCreateTime( void );
uint32_t GetCreateAgeTime( void );
const char * GetCreateAgeName( void );
plString GetCreateAgeName() const;
plUUID GetCreateAgeGuid(void) const;
PyObject* GetCreateAgeCoords ();

View File

@ -149,7 +149,7 @@ PYTHON_METHOD_DEFINITION_NOARGS(ptVaultNode, getCreateAgeTime)
PYTHON_METHOD_DEFINITION_NOARGS(ptVaultNode, getCreateAgeName)
{
return PyString_FromString(self->fThis->GetCreateAgeName());
return PyString_FromPlString(self->fThis->GetCreateAgeName());
}
PYTHON_METHOD_DEFINITION_NOARGS(ptVaultNode, getCreateAgeGuid)