Fix backwards test on RLV restriction @alwaysrun. Fixes FIRE-3422.

Tonya Souther 2011-10-13 12:00:07 -05:00
parent 29359b427d
commit cf9ff0750f
1 changed files with 1 additions and 1 deletions

View File

@ -492,7 +492,7 @@ void LLFloaterMove::sUpdateMovementStatus()
LLFloaterMove* pFloater = LLFloaterReg::findTypedInstance<LLFloaterMove>("moveview");
if (pFloater)
{
pFloater->mModeControlButtonMap[MM_RUN]->setEnabled(gRlvHandler.hasBehaviour(RLV_BHVR_ALWAYSRUN));
pFloater->mModeControlButtonMap[MM_RUN]->setEnabled(!gRlvHandler.hasBehaviour(RLV_BHVR_ALWAYSRUN));
pFloater->mModeControlButtonMap[MM_FLY]->setEnabled(gAgent.canFly());
}
}