1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-28 15:17:46 +00:00
This commit is contained in:
AriAvery 2018-11-11 14:34:56 +01:00
parent aa9e1e2450
commit d46d4fe068
3 changed files with 4 additions and 4 deletions

View file

@ -155,7 +155,7 @@ void Core::Land::setSharing( uint8_t state )
m_land.iconAddIcon = state;
}
void Core::Land::setLandName( std::string& name )
void Core::Land::setLandName( const std::string& name )
{
memcpy( &m_landName, &name, 20 );
}

View file

@ -24,7 +24,7 @@ namespace Core
void setState( uint8_t state );
void setOwnership( uint8_t state );
void setSharing( uint8_t state );
void setLandName( std::string& name );
void setLandName( const std::string& name );
//Gerneral
uint8_t getHouseSize();