Backed out changeset 83d2ec4d4a5e, a hack that forces you to fall when entering a parcel with no rights to fly in it.

--HG--
branch : product-engine
master
Vadim Savchuk 2010-02-03 21:20:37 +02:00
parent fb4adc1898
commit 917841120f
1 changed files with 0 additions and 8 deletions

View File

@ -1597,14 +1597,6 @@ void LLViewerParcelMgr::processParcelProperties(LLMessageSystem *msg, void **use
instance->mTeleportInProgress = FALSE;
instance->mTeleportFinishedSignal(gAgent.getPositionGlobal());
}
// HACK: This makes agents drop from the sky if they enter a parcel
// which is set to no fly.
BOOL was_flying = gAgent.getFlying();
if (was_flying && !parcel->getAllowFly())
{
gAgent.setFlying(gAgent.canFly());
}
}
}