Client-side maturity handling when teleporting. Adds new notification that asks if you want to change maturity settings with a single click and automatically re-fire the teleport request.
This commit is contained in:
@@ -725,11 +725,9 @@ void LLStatusBar::setHealth(S32 health)
|
||||
{
|
||||
if (mHealth > (health + gSavedSettings.getF32("UISndHealthReductionThreshold")))
|
||||
{
|
||||
LLVOAvatar *me;
|
||||
|
||||
if ((me = gAgentAvatarp))
|
||||
if (isAgentAvatarValid())
|
||||
{
|
||||
if (me->getSex() == SEX_FEMALE)
|
||||
if (gAgentAvatarp->getSex() == SEX_FEMALE)
|
||||
{
|
||||
make_ui_sound("UISndHealthReductionF");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user