1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-05 18:27:47 +00:00
This commit is contained in:
AriAvery 2018-11-11 14:34:56 +01:00
parent 8f118c4ec8
commit 4bf5644cce
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; m_land.iconAddIcon = state;
} }
void Core::Land::setLandName( std::string& name ) void Core::Land::setLandName( const std::string& name )
{ {
memcpy( &m_landName, &name, 20 ); memcpy( &m_landName, &name, 20 );
} }

View file

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