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-enginemaster
parent
fb4adc1898
commit
917841120f
|
|
@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue