mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-28 15:17:46 +00:00
fixes
This commit is contained in:
parent
aa9e1e2450
commit
d46d4fe068
3 changed files with 4 additions and 4 deletions
|
@ -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 );
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue