diff options
Diffstat (limited to 'linden/indra/newview/lltoolbar.cpp')
-rw-r--r-- | linden/indra/newview/lltoolbar.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/linden/indra/newview/lltoolbar.cpp b/linden/indra/newview/lltoolbar.cpp index 33edb3e..cc6d4b8 100644 --- a/linden/indra/newview/lltoolbar.cpp +++ b/linden/indra/newview/lltoolbar.cpp | |||
@@ -471,6 +471,14 @@ void LLToolBar::onClickSit(void*) | |||
471 | } | 471 | } |
472 | else | 472 | else |
473 | { | 473 | { |
474 | // [RLVa:KB] - Checked: 2009-07-10 (RLVa-1.0.0g) | ||
475 | // NOTE-RLVa: dead code? | ||
476 | if (gRlvHandler.hasBehaviour(RLV_BHVR_UNSIT)) | ||
477 | { | ||
478 | return; | ||
479 | } | ||
480 | // [/RLVa:KB] | ||
481 | |||
474 | // stand up | 482 | // stand up |
475 | gAgent.setFlying(FALSE); | 483 | gAgent.setFlying(FALSE); |
476 | gAgent.setControlFlags(AGENT_CONTROL_STAND_UP); | 484 | gAgent.setControlFlags(AGENT_CONTROL_STAND_UP); |