summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llviewerinput.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llviewerinput.cpp b/indra/newview/llviewerinput.cpp
index ad4b9d4215..3954d4fb5e 100644
--- a/indra/newview/llviewerinput.cpp
+++ b/indra/newview/llviewerinput.cpp
@@ -609,7 +609,8 @@ bool edit_avatar_move_backward( EKeystate s )
bool stop_moving( EKeystate s )
{
- if( KEYSTATE_DOWN != s ) return true;
+ //it's supposed that 'stop moving' key will be held down for some time
+ if( KEYSTATE_UP == s ) return true;
// stop agent
gAgent.setControlFlags(AGENT_CONTROL_STOP);