mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-03 09:17:47 +00:00
Set house access to public by default
This commit is contained in:
parent
f7a8f29b16
commit
56d1ecc5e5
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue