mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-28 07:07:45 +00:00
fixed style
This commit is contained in:
parent
38f1cb0d89
commit
aee2d26efc
1 changed files with 1 additions and 1 deletions
|
@ -1015,7 +1015,7 @@ void Core::DebugCommandHandler::housing( char* data, Entity::Player& player, std
|
||||||
auto pZone = player.getCurrentZone();
|
auto pZone = player.getCurrentZone();
|
||||||
if( pTeriMgr->isHousingTerritory( pZone->getTerritoryTypeId() ) )
|
if( pTeriMgr->isHousingTerritory( pZone->getTerritoryTypeId() ) )
|
||||||
{
|
{
|
||||||
auto pHousing = std::dynamic_pointer_cast<HousingZone>( pZone );
|
auto pHousing = std::dynamic_pointer_cast< HousingZone >( pZone );
|
||||||
if( pHousing )
|
if( pHousing )
|
||||||
player.setLandPermissions( permissionSet, 8, pHousing->getLandSetId(), pHousing->getWardNum(), pHousing->getTerritoryTypeId() );
|
player.setLandPermissions( permissionSet, 8, pHousing->getLandSetId(), pHousing->getWardNum(), pHousing->getTerritoryTypeId() );
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Reference in a new issue