mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 03:09:13 +00:00
Fix Python CreateAgeName corruption
This commit is contained in:
@ -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 "";
|
||||
}
|
||||
|
||||
|
@ -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 ();
|
||||
|
||||
|
@ -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)
|
||||
|
Reference in New Issue
Block a user