From cf9ff0750f0b64c4f8510ba0e0464b7c082c2320 Mon Sep 17 00:00:00 2001 From: Tonya Souther Date: Thu, 13 Oct 2011 12:00:07 -0500 Subject: [PATCH] Fix backwards test on RLV restriction @alwaysrun. Fixes FIRE-3422. --- indra/newview/llmoveview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/llmoveview.cpp b/indra/newview/llmoveview.cpp index b6841fdece..e32c2450c4 100644 --- a/indra/newview/llmoveview.cpp +++ b/indra/newview/llmoveview.cpp @@ -492,7 +492,7 @@ void LLFloaterMove::sUpdateMovementStatus() LLFloaterMove* pFloater = LLFloaterReg::findTypedInstance("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()); } }