mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 11:19:10 +00:00
Whoops-a-birdy
This commit is contained in:
@ -269,7 +269,7 @@ void plString::IConvertFromIso8859_1(const char *astr, size_t size)
|
||||
return;
|
||||
|
||||
if (size == STRLEN_AUTO)
|
||||
size = strnlen(astr, -(int32_t)size);
|
||||
size = strnlen(astr, size);
|
||||
|
||||
// Calculate the UTF-8 size
|
||||
size_t convlen = 0;
|
||||
|
@ -994,9 +994,9 @@ PyObject* cyMisc::GetLocalAvatar()
|
||||
PyObject* cyMisc::GetLocalPlayer()
|
||||
{
|
||||
return pyPlayer::New(plNetClientMgr::GetInstance()->GetLocalPlayerKey(),
|
||||
plNetClientMgr::GetInstance()->GetPlayerName().c_str(),
|
||||
plNetClientMgr::GetInstance()->GetPlayerID(),
|
||||
0.0 );
|
||||
plNetClientMgr::GetInstance()->GetPlayerName(),
|
||||
plNetClientMgr::GetInstance()->GetPlayerID(),
|
||||
0.0 );
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
Reference in New Issue
Block a user