Alchemy crouch toggle code sync.

This commit is contained in:
Inusaito Sayori
2015-07-25 13:09:10 -04:00
parent fd5dae59ae
commit 31867a8bbf
3 changed files with 10 additions and 7 deletions

View File

@@ -650,7 +650,8 @@ void LLAgent::moveUp(S32 direction)
setControlFlags(AGENT_CONTROL_UP_NEG | AGENT_CONTROL_FAST_UP);
}
if (!mCrouch) camera_reset_on_motion();
if (!mCrouch)
camera_reset_on_motion();
}
//-----------------------------------------------------------------------------
@@ -694,7 +695,7 @@ void LLAgent::movePitch(F32 mag)
bool LLAgent::isCrouching() const
{
return mCrouch && !getFlying(); // Never crouch when flying
return mCrouch && !getFlying();
}