mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-26 06:27:45 +00:00
fix compile warning
This commit is contained in:
parent
50f90d960b
commit
0d8a2aaf8c
1 changed files with 2 additions and 1 deletions
|
@ -313,7 +313,8 @@ bool Core::Entity::Player::loadSearchInfo()
|
|||
|
||||
m_searchSelectClass = res->getUInt8( 1 );
|
||||
m_searchSelectRegion = res->getUInt8( 2 );
|
||||
sprintf( m_searchMessage, res->getString( 3 ).c_str() );
|
||||
auto searchMessage = res->getString( 3 );
|
||||
std::copy( searchMessage.begin(), searchMessage.end(), m_searchMessage );
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue