Bulk of server-baking impelmentation and a bit of cleanup.
This commit is contained in:
@@ -2716,7 +2716,7 @@ bool LLPanelEstateCovenant::refreshFromRegion(LLViewerRegion* region)
|
||||
LLTextBox* resellable_clause = getChild<LLTextBox>("resellable_clause");
|
||||
if (resellable_clause)
|
||||
{
|
||||
if (region->getRegionFlags() & REGION_FLAGS_BLOCK_LAND_RESELL)
|
||||
if (region->getRegionFlag(REGION_FLAGS_BLOCK_LAND_RESELL))
|
||||
{
|
||||
resellable_clause->setText(getString("can_not_resell"));
|
||||
}
|
||||
@@ -2729,7 +2729,7 @@ bool LLPanelEstateCovenant::refreshFromRegion(LLViewerRegion* region)
|
||||
LLTextBox* changeable_clause = getChild<LLTextBox>("changeable_clause");
|
||||
if (changeable_clause)
|
||||
{
|
||||
if (region->getRegionFlags() & REGION_FLAGS_ALLOW_PARCEL_CHANGES)
|
||||
if (region->getRegionFlag(REGION_FLAGS_ALLOW_PARCEL_CHANGES))
|
||||
{
|
||||
changeable_clause->setText(getString("can_change"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user