mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-26 06:27:45 +00:00
Renamed publicAccess to flags
This commit is contained in:
parent
56d1ecc5e5
commit
f9b81dfcf9
2 changed files with 3 additions and 3 deletions
|
@ -1601,7 +1601,7 @@ struct LandStruct
|
||||||
{
|
{
|
||||||
uint8_t plotSize; //0
|
uint8_t plotSize; //0
|
||||||
uint8_t houseState; // 2
|
uint8_t houseState; // 2
|
||||||
uint8_t hasPublicAccess;
|
uint8_t flags; // bit1 -> hasPublicAccess; bit2 -> isPersonalHouse
|
||||||
uint8_t iconAddIcon; // 6
|
uint8_t iconAddIcon; // 6
|
||||||
uint32_t fcId; //8
|
uint32_t fcId; //8
|
||||||
uint32_t fcIcon;// 12
|
uint32_t fcIcon;// 12
|
||||||
|
|
|
@ -134,7 +134,7 @@ void Sapphire::HousingZone::sendLandSet( Entity::Player& player )
|
||||||
|
|
||||||
landData.plotSize = pLand->getSize();
|
landData.plotSize = pLand->getSize();
|
||||||
landData.houseState = pLand->getState();
|
landData.houseState = pLand->getState();
|
||||||
landData.hasPublicAccess = 1;
|
landData.flags = 1;
|
||||||
landData.iconAddIcon = pLand->getSharing();
|
landData.iconAddIcon = pLand->getSharing();
|
||||||
landData.fcId = pLand->getFcId();
|
landData.fcId = pLand->getFcId();
|
||||||
landData.fcIcon = pLand->getFcIcon();
|
landData.fcIcon = pLand->getFcIcon();
|
||||||
|
@ -169,7 +169,7 @@ void Sapphire::HousingZone::sendLandUpdate( uint8_t landId )
|
||||||
|
|
||||||
landData.plotSize = pLand->getSize();
|
landData.plotSize = pLand->getSize();
|
||||||
landData.houseState = pLand->getState();
|
landData.houseState = pLand->getState();
|
||||||
landData.hasPublicAccess = 1;
|
landData.flags = 1;
|
||||||
landData.iconAddIcon = pLand->getSharing();
|
landData.iconAddIcon = pLand->getSharing();
|
||||||
landData.fcId = pLand->getFcId();
|
landData.fcId = pLand->getFcId();
|
||||||
landData.fcIcon = pLand->getFcIcon();
|
landData.fcIcon = pLand->getFcIcon();
|
||||||
|
|
Loading…
Add table
Reference in a new issue