1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-06 10:47:45 +00:00

Set house access to public by default

This commit is contained in:
Mordred 2018-11-29 23:44:08 +01:00
parent 2d1a70a4ce
commit f393fec498
2 changed files with 3 additions and 3 deletions

View file

@ -1601,7 +1601,7 @@ struct LandStruct
{
uint8_t plotSize; //0
uint8_t houseState; // 2
uint8_t type; // 4 1 == FC, 2 == Private
uint8_t hasPublicAccess;
uint8_t iconAddIcon; // 6
uint32_t fcId; //8
uint32_t fcIcon;// 12

View file

@ -134,7 +134,7 @@ void Sapphire::HousingZone::sendLandSet( Entity::Player& player )
landData.plotSize = pLand->getSize();
landData.houseState = pLand->getState();
landData.type = static_cast< uint8_t >( pLand->getLandType() );
landData.hasPublicAccess = 1;
landData.iconAddIcon = pLand->getSharing();
landData.fcId = pLand->getFcId();
landData.fcIcon = pLand->getFcIcon();
@ -169,7 +169,7 @@ void Sapphire::HousingZone::sendLandUpdate( uint8_t landId )
landData.plotSize = pLand->getSize();
landData.houseState = pLand->getState();
landData.type = static_cast< uint8_t >( pLand->getLandType() );
landData.hasPublicAccess = 1;
landData.iconAddIcon = pLand->getSharing();
landData.fcId = pLand->getFcId();
landData.fcIcon = pLand->getFcIcon();