mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-26 06:27:45 +00:00
you can now relinquish the land directly after removing the house without relogging
This commit is contained in:
parent
78b66b9c92
commit
f3e8ecee15
1 changed files with 2 additions and 1 deletions
|
@ -1759,7 +1759,8 @@ void HousingMgr::removeHouse( Entity::Player& player, uint16_t plot )
|
|||
land->updateLandDb();
|
||||
terri->sendLandUpdate( plot );
|
||||
|
||||
player.setLandFlags( Common::LandFlagsSlot::Private, 0, land->getLandIdent() );
|
||||
player.setLandFlags( Common::LandFlagsSlot::Private, Common::HOUSING_LAND_STATUS::HOUSING_LAND_STATUS_NOINIT, land->getLandIdent() );
|
||||
sendLandFlagsSlot( player, Common::LandFlagsSlot::Private );
|
||||
|
||||
terri->removeEstateEntranceEObj( plot );
|
||||
return;
|
||||
|
|
Loading…
Add table
Reference in a new issue